Bug#593629: debian-cd: GNU/kFreeBSD support
On Thu, Aug 19, 2010 at 07:58:14PM +0200, Aurelien Jarno wrote:
> Package: debian-cd
> Version: 3.1.3
> Severity: normal
> Tags: patch
>
> Hi,
>
> The patch below add support for GNU/kFreeBSD. It's a mix of support
> for kfreebsd-amd64 and kfreebsd-i386 with bug fixes to support a "-"
> in the architecture name.
>
> If you have any question, don't hesitate. If not, please apply this
> patch for the next upload.
>
I am sorry but I have just found a small bug in the patch I send.
Basically /boot/grub/grub_eltorito is modified by mkisofs, so the md5sum
on the final ISO image is wrong.
Please find attached a small patch (based on what is done on x86) to fix
the issue.
--
Aurelien Jarno GPG: 1024D/F1BCDB73
aurelien@aurel32.net http://www.aurel32.net
--- tools/boot/squeeze/boot-kfreebsd (révision 2048)
+++ tools/boot/squeeze/boot-kfreebsd (copie de travail)
@@ -63,7 +63,8 @@
cp "cdrom/initrd.gz" "$CDDIR/boot/mfsroot.gz"
# Install bootloader
-tar -C $CDDIR -zxf cdrom/debian-cd_info.tar.gz
+mkdir -p boot$N
+tar -C boot$N -zxf cdrom/debian-cd_info.tar.gz
add_mkisofs_opt $CDDIR/../$N.mkisofs_opts "-J -joliet-long"
add_mkisofs_opt $CDDIR/../$N.mkisofs_opts "-b boot/grub/grub_eltorito"
add_mkisofs_opt $CDDIR/../$N.mkisofs_opts "-c boot/boot.cat"
@@ -71,6 +72,7 @@
add_mkisofs_opt $CDDIR/../$N.mkisofs_opts "-boot-load-size 4"
add_mkisofs_opt $CDDIR/../$N.mkisofs_opts "-boot-info-table"
add_mkisofs_opt $CDDIR/../$N.mkisofs_opts "-cache-inodes"
+add_mkisofs_opt $CDDIR/../$N.mkisofs_dirs "boot$N"
# Add autorun
if [ -f $CDDIR/README.html ]; then
Reply to: