bugreport
Hi!
Im using Ubuntu-Feisty with live-helper 1.0~a13-1, live-initramfs-1.87.4 and
user-setup_1.14ubuntu1_all.deb from gutsy
* live-initramfs
- i had to repackage live-initramfs-1.87.4 because of depends libc6
(removed dependency)
- /scripts/live-bottom: removed sed for event.d/tty* -> Unknown stanza (corrupted tty*
files)
* /usr/bin/make-live
- added Read_conffile "${ROOT}"/config/binary to main
because my changes to LIVE_BOOTAPPEND and others got lost after doing a make-live
* lh_binary_syslinux
- comment out "sed -e 's#//#/#g'" (Removing //) because my sed (4.1.5-1) has a problem
with \n
Resulting in "sed: -e expression #1, char 28: unterminated `s' command"
i made a small testscript:
#!/bin/sh
MEMTEST="LABEL memtest\n\tkernel memtest"
echo "-$MEMTEST-"
# Removing '//'
MEMTEST="`echo ${MEMTEST} | sed -e 's#//#/#g'`"
echo "-$MEMTEST-"
sed -e "s#LIVE_MEMTEST#${MEMTEST}#" isolinux.cfg
this shows me:
-LABEL memtest
kernel memtest-
-LABEL memtest
kernel memtest-
sed: -e expression #1, char 28: unterminated `s' command
if i remove the line "MEMTEST="`echo ${MEMTEST} | sed -e 's#//#/#g'`"":
-LABEL memtest
kernel memtest-
-LABEL memtest
kernel memtest-
DISPLAY boot.txt
F1 f1.txt
F2 f2.txt
F3 f3.txt
F4 f4.txt
F5 f5.txt
F6 f6.txt
F7 f7.txt
F8 f8.txt
F9 f9.txt
F0 f10.txt
DEFAULT live
LIVE_LINUX_LIVE
LIVE_LINUX_INSTALL
LABEL memtest
kernel memtest
#LABEL floppy
# localboot 0x00
.
.
.
but if i only change
MEMTEST="LABEL memtest\n\tkernel memtest"
to
MEMTEST="LABEL memtest kernel memtest"
i see:
-LABEL memtest kernel memtest-
-LABEL memtest kernel memtest-
DISPLAY boot.txt
F1 f1.txt
F2 f2.txt
F3 f3.txt
F4 f4.txt
F5 f5.txt
F6 f6.txt
F7 f7.txt
F8 f8.txt
F9 f9.txt
F0 f10.txt
DEFAULT live
LIVE_LINUX_LIVE
LIVE_LINUX_INSTALL
LABEL memtest kernel memtest
#LABEL floppy
# localboot 0x00
cu Peter
Reply to: