backport s390 d390.ins boot file tweak from trunk

This commit is contained in:
Steve McIntyre 2011-11-30 17:51:14 +00:00
parent 702cc8a85e
commit 3c689b25e5
2 changed files with 4 additions and 0 deletions

View File

@ -50,6 +50,9 @@ debian-cd (3.1.6) UNRELEASED-backport; urgency=low
+ Pick up on a potential bug: if we finish the last (expected) disc with + Pick up on a potential bug: if we finish the last (expected) disc with
a backed-out file, make sure we create another image to include that a backed-out file, make sure we create another image to include that
file too. file too.
* Add an extra tweaked version of d390.ins for s390 booting. The
Hardware Management Console needs the file to be in the root
directory.
-- Raphaël Hertzog <hertzog@debian.org> Fri, 04 Feb 2011 09:59:21 +0100 -- Raphaël Hertzog <hertzog@debian.org> Fri, 04 Feb 2011 09:59:21 +0100

View File

@ -86,6 +86,7 @@ done
# - d390.tdf : for booting from emulated tape # - d390.tdf : for booting from emulated tape
# - d390oco.tdf : same, using object-code-only-modules-ramdisk (example) # - d390oco.tdf : same, using object-code-only-modules-ramdisk (example)
cp $BASEDIR/data/$CODENAME/s390/d390* "$imagedir/" cp $BASEDIR/data/$CODENAME/s390/d390* "$imagedir/"
sed -e 's,^[^*],boot/&,g' < $BASEDIR/data/$CODENAME/s390/d390.ins > "boot$N/d390.ins"
# Create the files specifying offset and size of the initrd # Create the files specifying offset and size of the initrd
perl -e "print pack('N', 0x800000)" >"$imagedir/root.off" perl -e "print pack('N', 0x800000)" >"$imagedir/root.off"