summaryrefslogtreecommitdiffstats
path: root/make_boot_img
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2000-06-07 18:20:40 +0000
committerFrancois Pons <fpons@mandriva.com>2000-06-07 18:20:40 +0000
commit234684d7e2fcca452ee5c0bedd0e82c15a3dc788 (patch)
tree60b1a1022a726c0af371559d4d40b2a062da8162 /make_boot_img
parent0d81dab56418bb5bac57ae4f6b41d508da2180ec (diff)
downloaddrakx-backup-do-not-use-234684d7e2fcca452ee5c0bedd0e82c15a3dc788.tar
drakx-backup-do-not-use-234684d7e2fcca452ee5c0bedd0e82c15a3dc788.tar.gz
drakx-backup-do-not-use-234684d7e2fcca452ee5c0bedd0e82c15a3dc788.tar.bz2
drakx-backup-do-not-use-234684d7e2fcca452ee5c0bedd0e82c15a3dc788.tar.xz
drakx-backup-do-not-use-234684d7e2fcca452ee5c0bedd0e82c15a3dc788.zip
*** empty log message ***
Diffstat (limited to 'make_boot_img')
-rwxr-xr-xmake_boot_img19
1 files changed, 10 insertions, 9 deletions
diff --git a/make_boot_img b/make_boot_img
index 49abdd55e..601c70992 100755
--- a/make_boot_img
+++ b/make_boot_img
@@ -5,6 +5,7 @@
use Config;
Config->import;
my ($arch) = $Config{archname} =~ /(.*)-/;
+my $corporate = $ENV{CORPORATE} && " corporate"; #- use this for building a corporate version.
($img, $type) = @ARGV;
@@ -188,36 +189,36 @@ image[sun4c,sun4d,sun4m]=/$boot/vmlinux
label=linux
alias=install
initrd=/$boot/live.rdz
- append=\"ramdisk_size=32000\"
+ append=\"ramdisk_size=32000$corporate\"
image[sun4c,sun4d,sun4m]=/$boot/vmlinux
label=text
initrd=/$boot/live.rdz
- append=\"ramdisk_size=32000 text\"
+ append=\"ramdisk_size=32000 text$corporate\"
image[sun4c,sun4d,sun4m]=/$boot/vmlinux
label=expert
initrd=/$boot/live.rdz
- append=\"ramdisk_size=32000 expert\"
+ append=\"ramdisk_size=32000 expert$corporate\"
image[sun4c,sun4d,sun4m]=/$boot/vmlinux
label=ks
initrd=/$boot/live.rdz
- append=\"ramdisk_size=32000 ks\"
+ append=\"ramdisk_size=32000 ks$corporate\"
image[sun4u]=/$boot/vmlinux64
label=linux
alias=install
initrd=/$boot/live64.rdz
- append=\"ramdisk_size=32000\"
+ append=\"ramdisk_size=32000$corporate\"
image[sun4u]=/$boot/vmlinux64
label=text
initrd=/$boot/live64.rdz
- append=\"ramdisk_size=32000 text\"
+ append=\"ramdisk_size=32000 text$corporate\"
image[sun4u]=/$boot/vmlinux64
label=expert
initrd=/$boot/live64.rdz
- append=\"ramdisk_size=32000 expert\"
+ append=\"ramdisk_size=32000 expert$corporate\"
image[sun4u]=/$boot/vmlinux64
label=ks
initrd=/$boot/live64.rdz
- append=\"ramdisk_size=32000 ks\"
+ append=\"ramdisk_size=32000 ks$corporate\"
");
output("$dir/$boot/README", "
@@ -258,7 +259,7 @@ read-write
image=/vmlinux$I.gz
label=linux
initrd=/$type.rdz
- append=ramdisk_size=32000 $ltype
+ append=ramdisk_size=32000 $ltype$corporate
");
_ "genromfs -d $dir -f /dev/ram -A 2048,/.. -a 512 -V \'DrakX boot disk\'";
_ "$sudo mount -t romfs /dev/ram $mnt";