* added support to Emerge -repository w/ repo/*
[t2sde.git] / package / boot / palo / larger-cd-dvd.patch
blob46c2290e8226bd582bb63cdf85a5c2336cc6a089
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/palo/larger-cd-dvd.patch
3 # Copyright (C) 2023 The T2 SDE Project
4 #
5 # This Copyright note is generated by scripts/Create-CopyPatch,
6 # more information can be found in the files COPYING and README.
7 #
8 # This patch file is dual-licensed. It is available under the license the
9 # patched project is licensed under, as long as it is an OpenSource license
10 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
11 # of the GNU General Public License version 2 as used by the T2 SDE.
12 # --- T2-COPYRIGHT-NOTE-END ---
14 Upstream palo erors out creating bootable ISOs larger than 800MB.
15 Increase that for 2GB for now. More might need more tweaks.
17 --- palo-2.24/palo/palo.c.vanilla 2023-12-12 22:16:24.689714475 +0100
18 +++ palo-2.24/palo/palo.c 2023-12-12 22:17:13.030710188 +0100
19 @@ -378,7 +378,7 @@
20 struct firstblock f;
21 /* always load IPL at second 2k block on sequential media */
22 int where = 1 * FW_BLOCKSIZE;
23 - unsigned end = 800 * 1024 * 1024;
24 + unsigned end = 2000 * 1024 * 1024;
25 /* int is safe since CD-ROM is < 2G */
26 int bootloader_offset;
27 int kernel32_offset;