* added support to Emerge -repository w/ repo/*
[t2sde.git] / package / powerpc / mac-fdisk / larger-bootstrap.patch
blob50c3a71552f3e1b586c711dad72d76dd85d029ff
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/mac-fdisk/larger-bootstrap.patch
3 # Copyright (C) 2022 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 --- mac-fdisk-0.1.orig/pdisk.c.vanilla 2022-05-25 10:38:37.322914578 +0200
15 +++ mac-fdisk-0.1.orig/pdisk.c 2022-05-25 10:40:26.562920214 +0200
16 @@ -354,7 +354,7 @@
17 printf(" P (print ordered by base address)\n");
18 printf(" i initialize partition map\n");
19 printf(" s change size of partition map\n");
20 - printf(" b create new 800K bootstrap partition\n");
21 + printf(" b create new bootstrap partition\n");
22 printf(" c create new Linux partition\n");
23 printf(" C (create with type also specified)\n");
24 printf(" d delete a partition\n");
25 @@ -498,8 +498,8 @@
26 return;
29 - // create 800K type Apple_Bootstrap partition named `bootstrap'
30 - add_partition_to_map(kBootstrapName, kBootstrapType, base, 1600, map);
31 + // create 2048K type Apple_Bootstrap partition named `bootstrap'
32 + add_partition_to_map(kBootstrapName, kBootstrapType, base, 4096, map);
36 --- mac-fdisk-0.1.orig/mac-fdisk.8.in.vanilla 2022-05-25 12:20:21.701229498 +0200
37 +++ mac-fdisk-0.1.orig/mac-fdisk.8.in 2022-05-25 12:20:41.643230527 +0200
38 @@ -83,7 +83,7 @@
39 P print ordered by base address
40 i initialize the partition map
41 s change size of partition map
42 -b create new 800K Apple_Bootstrap partition (used by yaboot)
43 +b create new Apple_Bootstrap partition (for grub or yaboot)
44 c create new standard Linux type partition
45 C create new partition, specifying the partition type
46 d delete a partition
47 @@ -147,7 +147,7 @@
48 The
49 .B b
50 command is a shortcut to create the bootstrap partition used on PowerPC
51 -NewWorld machines. It is equivalent to creating an 800k
52 +NewWorld machines. It is equivalent to creating an 2MB
53 .B Apple_Bootstrap
54 type partition using the
55 .B C