summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2007-09-23 10:04:21 +0200
committerDaniel Baumann <daniel@debian.org>2007-09-23 10:04:21 +0200
commit18e4f460bf1c115c62ea9aebb56d75d486322531 (patch)
treef277a0fe28a622ee2056d317140a43ef71627991
parent57cf927e8b36655351399184fecec51552feffe5 (diff)
downloadlive-build-18e4f460bf1c115c62ea9aebb56d75d486322531.zip
live-build-18e4f460bf1c115c62ea9aebb56d75d486322531.tar.gz
Adding live-package 0.99.2-1.
-rw-r--r--ChangeLog9
-rw-r--r--debian/changelog6
-rw-r--r--scripts/00-defaults.sh7
-rw-r--r--scripts/01-chroot.sh23
-rw-r--r--scripts/01-patch.sh2
-rw-r--r--templates/syslinux/pxelinux.cfg2
6 files changed, 39 insertions, 10 deletions
diff --git a/ChangeLog b/ChangeLog
index 0140d52..30bd127 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2006-07-28 Daniel Baumann <daniel@debian.org>
+
+ * Added DEBIAN_FRONTEND to chroots(), now completely non-interactive.
+ * Fixed wrong chroot patch.
+
+2006-07-27 Marco Amadori <marco.amadori@gmail.com>
+
+ * Changed amd64 kernel naming scheme.
+
2006-07-19 Daniel Baumann <daniel@debian.org>
* Bugfixes.
diff --git a/debian/changelog b/debian/changelog
index 2b63e10..fe994d0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+live-package (0.99.2-1) unstable; urgency=low
+
+ * New upstream release.
+
+ -- Daniel Baumann <daniel@debian.org> Mon, 31 Jul 2006 00:00:00 +0200
+
live-package (0.99.1-1) unstable; urgency=low
* New upstream release.
diff --git a/scripts/00-defaults.sh b/scripts/00-defaults.sh
index 32e5e13..4c2c3bd 100644
--- a/scripts/00-defaults.sh
+++ b/scripts/00-defaults.sh
@@ -43,7 +43,12 @@ Defaults ()
;;
amd64)
- LIVE_LINUX="amd64-generic"
+ if [ "${LIVE_DISTRIBUTION}" == unstable ]
+ then
+ LIVE_LINUX="amd64-k8"
+ else
+ LIVE_LINUX="amd64-generic"
+ fi
;;
arm)
diff --git a/scripts/01-chroot.sh b/scripts/01-chroot.sh
index 5528d02..6d5d4ed 100644
--- a/scripts/01-chroot.sh
+++ b/scripts/01-chroot.sh
@@ -6,9 +6,7 @@ chroots ()
chroot "${LIVE_CHROOT}" /usr/bin/env -i HOME="/root" \
PATH="/usr/sbin:/usr/bin:/sbin:/bin" TERM="${TERM}" \
ftp_proxy="${LIVE_FTPPROXY}" http_proxy="${LIVE_HTTPPROXY}" \
- DEBIAN_PRIORITY="critical" ${1}
- #DEBIAN_FRONTEND=non-interactive DEBIAN_PRIORITY=critical
- # FIXME: setting DEBIAN_FRONTEND to non-interactive seems not to work.
+ DEBIAN_FRONTEND=noninteractive DEBIAN_PRIORITY=critical ${1}
}
Chroot ()
@@ -58,10 +56,21 @@ Chroot ()
Patch_linuximage apply
# Install linux-image
- chroots "apt-get install --yes linux-image-2.6-${LIVE_LINUX}"
- chroots "apt-get install --yes --force-yes casper \
- squashfs-modules-2.6-${LIVE_LINUX} \
- unionfs-modules-2.6-${LIVE_LINUX}"
+ case "${LIVE_DISTRIBUTION}" in
+ unstable)
+ chroots "apt-get install --yes linux-image-2.6-${LIVE_LINUX}"
+ chroots "apt-get install --yes --force-yes casper \
+ squashfs-modules-2.6-${LIVE_LINUX} \
+ unionfs-modules-2.6-${LIVE_LINUX}"
+ ;;
+
+ testing)
+ chroots "apt-get install --yes linux-image-2.6.16-2-${LIVE_LINUX}"
+ chroots "apt-get install --yes --force-yes casper \
+ squashfs-modules-2.6.16-2-${LIVE_LINUX} \
+ unionfs-modules-2.6.16-2-${LIVE_LINUX}"
+ ;;
+ esac
# Rebuild initial ramdisk
chroots "dpkg-reconfigure `basename ${LIVE_CHROOT}/var/lib/dpkg/info/linux-image-2.6.*-${LIVE_LINUX}.postinst .postinst`"
diff --git a/scripts/01-patch.sh b/scripts/01-patch.sh
index 5b81bf5..c990032 100644
--- a/scripts/01-patch.sh
+++ b/scripts/01-patch.sh
@@ -8,7 +8,7 @@ Patch_chroot ()
case "${1}" in
apply)
# Create chroot file
- echo "live" > "${LIFE_CHROOT}"/etc/debian_chroot
+ echo "live" > "${LIVE_CHROOT}"/etc/debian_chroot
;;
deapply)
diff --git a/templates/syslinux/pxelinux.cfg b/templates/syslinux/pxelinux.cfg
index 1c0ab57..41e1a67 100644
--- a/templates/syslinux/pxelinux.cfg
+++ b/templates/syslinux/pxelinux.cfg
@@ -1,7 +1,7 @@
default linux
label linux
kernel vmlinuz
- append initrd=initrd.gz boot=casper-net nfsroot=LIVE_SERVER_ADDRESS:LIVE_SERVER_PATH LIVE_BOOTAPPEND
+ append initrd=initrd.gz boot=casper netboot nfsroot=LIVE_SERVER_ADDRESS:LIVE_SERVER_PATH LIVE_BOOTAPPEND
label memtest
kernel memtest
display isolinux.txt