|
|
@ -277,8 +277,17 @@ deb-src ${SECSRCMIRROR} ${STE}-security ${COMP}
|
|
|
|
echo set postfix/mailname | chroot ${ROOT} /usr/bin/debconf-communicate postfix
|
|
|
|
echo set postfix/mailname | chroot ${ROOT} /usr/bin/debconf-communicate postfix
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
chroot ${ROOT} dpkg-query -W --showformat='${Package} ${Version}\n' > livecd.${FS}.manifest
|
|
|
|
chroot ${ROOT} dpkg-query -W --showformat='${Package} ${Version}\n' > livecd.${FS}.manifest
|
|
|
|
KVER=`chroot ${ROOT} dpkg -l linux-image-2\*|grep ^i|awk '{print $2}'|sed 's/linux-image-//'`
|
|
|
|
KVERS=`chroot ${ROOT} dpkg -l linux-image-2\*|grep ^i|awk '{print $2}'|sed 's/linux-image-//'`
|
|
|
|
cp ${ROOT}/boot/initrd.img-"$KVER" livecd.${FS}.initrd
|
|
|
|
for KVER in ${KVERS}; do
|
|
|
|
|
|
|
|
SUBARCH="${KVER#*-*-}"
|
|
|
|
|
|
|
|
chroot ${ROOT} update-initramfs -k "${KVER}" -u
|
|
|
|
|
|
|
|
cp ${ROOT}/boot/initrd.img-"${KVER}" livecd.${FS}.initrd-"${SUBARCH}"
|
|
|
|
|
|
|
|
done
|
|
|
|
|
|
|
|
if [ "${KVERS% *}" = "$KVERS" ]; then
|
|
|
|
|
|
|
|
# only one kernel
|
|
|
|
|
|
|
|
SUBARCH="${KVERS#*-*-}"
|
|
|
|
|
|
|
|
ln -s livecd.${FS}.initrd-"${SUBARCH}" livecd.${FS}.initrd
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
mkdir -p livecd.mnt
|
|
|
|
mkdir -p livecd.mnt
|
|
|
|
MOUNTS="$MOUNTS $(pwd)/livecd.mnt"
|
|
|
|
MOUNTS="$MOUNTS $(pwd)/livecd.mnt"
|
|
|
|