diff options
author | Matthias Badaire <mbadaire@mandriva.com> | 2001-07-04 19:35:54 +0000 |
---|---|---|
committer | Matthias Badaire <mbadaire@mandriva.com> | 2001-07-04 19:35:54 +0000 |
commit | ff19b12f08a9a15cdbf8cf9363ccb1d64d9d8223 (patch) | |
tree | 806cf012cb7d9a654eb837ebf796386f8173596f | |
parent | 49179d897c48c131d8e43d1e6da3ef013907f567 (diff) | |
download | drakx-backup-do-not-use-ff19b12f08a9a15cdbf8cf9363ccb1d64d9d8223.tar drakx-backup-do-not-use-ff19b12f08a9a15cdbf8cf9363ccb1d64d9d8223.tar.gz drakx-backup-do-not-use-ff19b12f08a9a15cdbf8cf9363ccb1d64d9d8223.tar.bz2 drakx-backup-do-not-use-ff19b12f08a9a15cdbf8cf9363ccb1d64d9d8223.tar.xz drakx-backup-do-not-use-ff19b12f08a9a15cdbf8cf9363ccb1d64d9d8223.zip |
Ia64 Adaptation
-rwxr-xr-x | make_boot_img | 28 | ||||
-rwxr-xr-x | tools/ia64/e2fsck.shared | bin | 0 -> 1060504 bytes | |||
-rwxr-xr-x | tools/ia64/elilo.efi | bin | 0 -> 306253 bytes | |||
-rwxr-xr-x | tools/specific_arch | 1 |
4 files changed, 28 insertions, 1 deletions
diff --git a/make_boot_img b/make_boot_img index 6afa19df9..ca226f309 100755 --- a/make_boot_img +++ b/make_boot_img @@ -72,7 +72,7 @@ sub initrd { my $tar = "$instdir/stage1-data/stage1.tar.bz2"; __ "$sudo umount $tmp $mnt 2>/dev/null"; - _ "dd if=/dev/zero of=$tmp bs=1k count=" . ($type eq "all" ? 4000 : 2000); + _ "dd if=/dev/zero of=$tmp bs=1k count=" . ($arch =~ /ia64/ ? ($type eq "all" ? 12000 : 12000) : ($type eq "all" ? 4000 : 2000)); _ "$mke2fs $tmp"; _ "$sudo mount -t ext2 $tmp $mnt -o loop"; @@ -214,6 +214,32 @@ sub boot_img_alpha { _ "df $mnt"; } +sub boot_img_ia64 { + my ($mnt, $img, $kernel) = @_; + + __ "$sudo umount $mnt 2>/dev/null"; + _ "dd if=/dev/zero of=$img bs=1k count=12000"; + _ "mkdosfs $img"; + _ "$sudo mount -t vfat $img $mnt -o loop,umask=000"; + _ "$sudo cp -f $kernel $mnt/vmlinux"; + _ "cp -f images/$type.rdz $mnt/$type.rdz"; + _ "$sudo cp -f tools/ia64/elilo.efi $mnt"; + output("$mnt/elilo.conf", " +prompt +timeout=50 + +image=vmlinux + label=linux + root=/dev/ram3 + initrd=$type.rdz + append=\"ramdisk_size=120000\" + read-only +"); + _ "sync"; + _ "df $mnt"; + +} + sub boot_img_sparc { my ($mnt, $img) = @_; if ($type =~ /^live(.*)/) { diff --git a/tools/ia64/e2fsck.shared b/tools/ia64/e2fsck.shared Binary files differnew file mode 100755 index 000000000..1ca570a7b --- /dev/null +++ b/tools/ia64/e2fsck.shared diff --git a/tools/ia64/elilo.efi b/tools/ia64/elilo.efi Binary files differnew file mode 100755 index 000000000..994ed43a4 --- /dev/null +++ b/tools/ia64/elilo.efi diff --git a/tools/specific_arch b/tools/specific_arch index 1718e8f09..57da2d259 100755 --- a/tools/specific_arch +++ b/tools/specific_arch @@ -14,6 +14,7 @@ 'sparc' => 'noarch', 'sparc32' => 'sparc', 'sparc64' => 'sparc32', + 'ia64' => 'noarch', ); $arch = `uname -m` || 'unknownarch'; |