pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/sysutils/mklivecd/files s/grub/boot\/grub/g; minor fixes.
details: https://anonhg.NetBSD.org/pkgsrc/rev/69de1be89461
branches: trunk
changeset: 474325:69de1be89461
user: xtraeme <xtraeme%pkgsrc.org@localhost>
date: Tue Apr 27 16:10:46 2004 +0000
description:
s/grub/boot\/grub/g; minor fixes.
diffstat:
sysutils/mklivecd/files/mklivecd.sh | 14 ++++++++------
1 files changed, 8 insertions(+), 6 deletions(-)
diffs (47 lines):
diff -r 680fd70efbc2 -r 69de1be89461 sysutils/mklivecd/files/mklivecd.sh
--- a/sysutils/mklivecd/files/mklivecd.sh Tue Apr 27 15:50:43 2004 +0000
+++ b/sysutils/mklivecd/files/mklivecd.sh Tue Apr 27 16:10:46 2004 +0000
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $NetBSD: mklivecd.sh,v 1.9 2004/04/27 15:34:19 xtraeme Exp $
+# $NetBSD: mklivecd.sh,v 1.10 2004/04/27 16:10:46 xtraeme Exp $
#
# Copyright (c) 2004 Juan RP <xtraeme%NetBSD.org@localhost>
# All rights reserved.
@@ -45,7 +45,8 @@
#
# Don't modify it! they are needed for booting grub
MKISOFS_FIXED_ARGS="-no-emul-boot -boot-load-size 30 -boot-info-table"
-BOOTIMAGE="boot/grub/stage2_eltorito"
+BOOTDIR="boot/grub"
+BOOTIMAGE="stage2_eltorito"
GRUB_FILES="stage2_eltorito iso9660_stage1_5"
trap "echo; showmsg \"Process cancelled!\"; bye 127" INT QUIT
@@ -242,12 +243,13 @@
make depend
make COPTS="-Os" # Don't use additional flags
if [ $? -eq 0 ]; then
- [ ! -d $ISODIR/grub ] && mkdir -p $ISODIR/grub
+ [ ! -d $ISODIR/$BOOTDIR ] && mkdir -p $ISODIR/$BOOTDIR
for f in $GRUB_FILES
do
- cp @PREFIX@/share/grub/@MACHINE_ARCH@-/$f $ISODIR/grub
+ cp @PREFIX@/share/grub/@MACHINE_ARCH@-/$f \
+ $ISODIR/$BOOTDIR
if [ "$verbose_mode" = "on" ]; then
- showmsg "Copying $f into $ISODIR/grub."
+ showmsg "Copying $f into $ISODIR/boot/grub."
fi
done
cp $WORKDIR/$KERNEL_NAME/netbsd $ISODIR
@@ -341,7 +343,7 @@
cat > $ISODIR/etc/rc.d/root <<_EOF_
#!/bin/sh
#
-# \$NetBSD: mklivecd.sh,v 1.9 2004/04/27 15:34:19 xtraeme Exp $
+# \$NetBSD: mklivecd.sh,v 1.10 2004/04/27 16:10:46 xtraeme Exp $
#
# PROVIDE: root
Home |
Main Index |
Thread Index |
Old Index