summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2007-09-23 10:04:23 +0200
committerDaniel Baumann <daniel@debian.org>2007-09-23 10:04:23 +0200
commit4a992637066b9cb25b57b9122707e5e5ecfcaf0d (patch)
tree946aa6d8ad15700885f3960b5cb5cf5eb2eef866 /src
parentd80c8552b60d499dbec7fb37e09ab8fc4145ce2d (diff)
downloadlive-build-4a992637066b9cb25b57b9122707e5e5ecfcaf0d.zip
live-build-4a992637066b9cb25b57b9122707e5e5ecfcaf0d.tar.gz
Adding live-package 0.99.7-1.
Diffstat (limited to 'src')
-rw-r--r--src/lists/gnome2
-rw-r--r--src/lists/gnome-core2
-rw-r--r--src/lists/gnome-full2
-rw-r--r--src/lists/kde2
-rw-r--r--src/lists/kde-core2
-rw-r--r--src/lists/kde-core-i18n2
-rw-r--r--src/lists/kde-extra2
-rw-r--r--src/lists/kde-extra-i18n2
-rw-r--r--src/lists/kde-full2
-rw-r--r--src/lists/kde-full-i18n2
-rw-r--r--src/lists/kde-i18n2
-rw-r--r--src/lists/minimal2
-rw-r--r--src/lists/standard2
-rw-r--r--src/lists/standard-i18n2
-rw-r--r--src/lists/x112
-rw-r--r--src/lists/x11-core2
-rw-r--r--src/lists/xfce2
-rwxr-xr-xsrc/main.sh4
-rw-r--r--src/scripts/02defaults.sh19
-rw-r--r--src/scripts/13hack.sh3
-rw-r--r--src/scripts/21image.sh4
-rw-r--r--src/scripts/22iso.sh5
-rw-r--r--src/scripts/23net.sh6
23 files changed, 41 insertions, 34 deletions
diff --git a/src/lists/gnome b/src/lists/gnome
index 3946fe4..1f8eb58 100644
--- a/src/lists/gnome
+++ b/src/lists/gnome
@@ -1,7 +1,7 @@
# /usr/share/make-live/lists/gnome - package list for make-live(8)
# Minimal
-sudo
+eject sudo
# Standard
locales
diff --git a/src/lists/gnome-core b/src/lists/gnome-core
index 86aedb6..13af34e 100644
--- a/src/lists/gnome-core
+++ b/src/lists/gnome-core
@@ -1,7 +1,7 @@
# /usr/share/make-live/lists/gnome-core - package list for make-live(8)
# Minimal
-sudo
+eject sudo
# Standard
locales
diff --git a/src/lists/gnome-full b/src/lists/gnome-full
index a2b8157..8f685df 100644
--- a/src/lists/gnome-full
+++ b/src/lists/gnome-full
@@ -1,7 +1,7 @@
# /usr/share/make-live/lists/gnome-full - package list for make-live(8)
# Minimal
-sudo
+eject sudo
# Standard
locales
diff --git a/src/lists/kde b/src/lists/kde
index 88f95aa..884d06d 100644
--- a/src/lists/kde
+++ b/src/lists/kde
@@ -1,7 +1,7 @@
# /usr/share/make-live/lists/kde - package list for make-live(8)
# Minimal
-sudo
+eject sudo
# Standard
locales
diff --git a/src/lists/kde-core b/src/lists/kde-core
index 51365ba..514f4f2 100644
--- a/src/lists/kde-core
+++ b/src/lists/kde-core
@@ -1,7 +1,7 @@
# /usr/share/make-live/lists/kde-core - package list for make-live(8)
# Minimal
-sudo
+eject sudo
# Standard
locales
diff --git a/src/lists/kde-core-i18n b/src/lists/kde-core-i18n
index f41be9b..bd697be 100644
--- a/src/lists/kde-core-i18n
+++ b/src/lists/kde-core-i18n
@@ -1,7 +1,7 @@
# /usr/share/make-live/lists/kde-core-i18n - package list for make-live(8)
# Minimal
-sudo
+eject sudo
# Standard
locales
diff --git a/src/lists/kde-extra b/src/lists/kde-extra
index 12d37f9..ad08e3c 100644
--- a/src/lists/kde-extra
+++ b/src/lists/kde-extra
@@ -1,7 +1,7 @@
# /usr/share/make-live/lists/kde-extra - package list for make-live(8)
# Minimal
-sudo
+eject sudo
# Standard
locales
diff --git a/src/lists/kde-extra-i18n b/src/lists/kde-extra-i18n
index cfe990b..22eded3 100644
--- a/src/lists/kde-extra-i18n
+++ b/src/lists/kde-extra-i18n
@@ -1,7 +1,7 @@
# /usr/share/make-live/lists/kde-extra-i18n - package list for make-live(8)
# Minimal
-sudo
+eject sudo
# Standard
locales
diff --git a/src/lists/kde-full b/src/lists/kde-full
index 5ca4926..b174915 100644
--- a/src/lists/kde-full
+++ b/src/lists/kde-full
@@ -1,7 +1,7 @@
# /usr/share/make-live/lists/kde-full - package list for make-live(8)
# Minimal
-sudo
+eject sudo
# Standard
locales
diff --git a/src/lists/kde-full-i18n b/src/lists/kde-full-i18n
index 92aa5b1..08d4cea 100644
--- a/src/lists/kde-full-i18n
+++ b/src/lists/kde-full-i18n
@@ -1,7 +1,7 @@
# /usr/share/make-live/lists/kde-full-i18n - package list for make-live(8)
# Minimal
-sudo
+eject sudo
# Standard
locales
diff --git a/src/lists/kde-i18n b/src/lists/kde-i18n
index fffd35f..039b6f7 100644
--- a/src/lists/kde-i18n
+++ b/src/lists/kde-i18n
@@ -1,7 +1,7 @@
# /usr/share/make-live/lists/kde-i18n - package list for make-live(8)
# Minimal
-sudo
+eject sudo
# Standard
locales
diff --git a/src/lists/minimal b/src/lists/minimal
index cb9ec88..1289107 100644
--- a/src/lists/minimal
+++ b/src/lists/minimal
@@ -1,4 +1,4 @@
# /usr/share/make-live/lists/minimal - package list for make-live(8)
# Minimal
-sudo
+eject sudo
diff --git a/src/lists/standard b/src/lists/standard
index 209291f..75df57f 100644
--- a/src/lists/standard
+++ b/src/lists/standard
@@ -1,7 +1,7 @@
# /usr/share/make-live/lists/standard - package list for make-live(8)
# Minimal
-sudo
+eject sudo
# Standard
locales
diff --git a/src/lists/standard-i18n b/src/lists/standard-i18n
index 11b5e15..c0ef5ca 100644
--- a/src/lists/standard-i18n
+++ b/src/lists/standard-i18n
@@ -1,7 +1,7 @@
# /usr/share/make-live/lists/standard-i18n - package list for make-live(8)
# Minimal
-sudo
+eject sudo
# Standard
locales
diff --git a/src/lists/x11 b/src/lists/x11
index 124b3e4..12143f1 100644
--- a/src/lists/x11
+++ b/src/lists/x11
@@ -1,7 +1,7 @@
# /usr/share/make-live/lists/x11 - package list for make-live(8)
# Minimal
-sudo
+eject sudo
# Standard
locales
diff --git a/src/lists/x11-core b/src/lists/x11-core
index 23de7d8..cadd3bb 100644
--- a/src/lists/x11-core
+++ b/src/lists/x11-core
@@ -1,7 +1,7 @@
# /usr/share/make-live/lists/x11-core - package list for make-live(8)
# Minimal
-sudo
+eject sudo
# Standard
locales
diff --git a/src/lists/xfce b/src/lists/xfce
index ff9fcd4..cbd9259 100644
--- a/src/lists/xfce
+++ b/src/lists/xfce
@@ -1,7 +1,7 @@
# /usr/share/make-live/lists/xfce - package list for make-live(8)
# Minimal
-sudo
+eject sudo
# Standard
locales
diff --git a/src/main.sh b/src/main.sh
index 524ec3a..06ec1ac 100755
--- a/src/main.sh
+++ b/src/main.sh
@@ -28,7 +28,7 @@ set -e
BASE="/usr/share/make-live"
CONFIG="/etc/make-live.conf"
PROGRAM="`basename ${0}`"
-VERSION="0.99.6"
+VERSION="0.99.7"
CODENAME_OLDSTABLE="woody"
CODENAME_STABLE="sarge"
@@ -158,7 +158,7 @@ Configuration ()
Main ()
{
- ARGUMENTS="`getopt --longoptions root:,type:,architecture:,bootappend:,config:,chroot:,distribution:,filesystem:,flavour:,hook:,include-chroot:,include-image:,kernel:,manifest:,mirror:,mirror-security:,output:,packages:,package-list:,proxy-ftp:,proxy-http:,section:,server-address:,server-path:,templates:,with-generic-indices,without-generic-indices,with-source,without-source,help,usage,version --name=${PROGRAM} --options r:t:a:b:c:d:f:k:m:o:p:s:huv --shell sh -- ${@}`"
+ ARGUMENTS="`getopt --longoptions root:,type:,architecture:,bootappend:,config:,chroot:,distribution:,filesystem:,flavour:,hook:,include-chroot:,include-image:,kernel:,manifest:,mirror:,mirror-security:,output:,packages:,package-list:,proxy-ftp:,proxy-http:,section:,server-address:,server-path:,templates:,with-generic-indices,without-generic-indices,with-source,without-source,help,usage,version --name=${PROGRAM} --options r:t:a:b:c:d:f:k:m:o:p:s:huv --shell sh -- "${@}"`"
if [ "${?}" != "0" ]
then
diff --git a/src/scripts/02defaults.sh b/src/scripts/02defaults.sh
index 6e54c13..fd58883 100644
--- a/src/scripts/02defaults.sh
+++ b/src/scripts/02defaults.sh
@@ -107,7 +107,7 @@ Defaults ()
;;
amd64)
- if [ "${LIVE_DISTRIBUTION}" = "unstable" ]
+ if [ "${LIVE_DISTRIBUTION}" = "unstable" ] || [ "${LIVE_DISTRIBUTION}" = "testing" ]
then
LIVE_KERNEL="amd64"
else
@@ -176,19 +176,22 @@ Defaults ()
# Check for package lists
if [ -z "${LIVE_PACKAGE_LIST}" ]
then
- LIVE_PACKAGE_LIST="${BASE}/lists/standard"
- else
if [ "${LIVE_FLAVOUR}" = "minimal" ]
then
LIVE_PACKAGE_LIST="${BASE}/lists/minimal"
- fi
-
- if [ -r "${BASE}/lists/${LIVE_PACKAGE_LIST}" ]
- then
- LIVE_PACKAGE_LIST="${BASE}/lists/${LIVE_PACKAGE_LIST}"
else
LIVE_PACKAGE_LIST="${BASE}/lists/standard"
fi
+ else
+ if [ ! -r "${LIVE_PACKAGE_LIST}" ]
+ then
+ if [ -r "${BASE}/lists/${LIVE_PACKAGE_LIST}" ]
+ then
+ LIVE_PACKAGE_LIST="${BASE}/lists/${LIVE_PACKAGE_LIST}"
+ else
+ LIVE_PACKAGE_LIST="${BASE}/lists/standard"
+ fi
+ fi
fi
# Set debian sections
diff --git a/src/scripts/13hack.sh b/src/scripts/13hack.sh
index 3468c57..bd3a335 100644
--- a/src/scripts/13hack.sh
+++ b/src/scripts/13hack.sh
@@ -11,7 +11,8 @@
Hack_xorg ()
{
- if [ -f "${LIVE_CHROOT}/etc/X11/xorg.conf" ] #&& [ "${LIVE_DISTRIBUTION_EXPERIMENTAL}" != "yes" ]
+ # xserver-xorg << 7.1
+ if [ -f "${LIVE_CHROOT}/etc/X11/xorg.conf" ] && [ "${LIVE_DISTRIBUTION}" = "testing" ]
then
# Comment "BusID" line and set driver to "vesa"
sed -i -e 's/\(^.*BusID.*\)/#\1/g' -e '/Section "Device"/,/EndSection/ s/\(.*Driver.*"\).*\(".*\)/\1vesa\2/g' "${LIVE_CHROOT}"/etc/X11/xorg.conf
diff --git a/src/scripts/21image.sh b/src/scripts/21image.sh
index 6357f09..930315c 100644
--- a/src/scripts/21image.sh
+++ b/src/scripts/21image.sh
@@ -32,8 +32,6 @@ Indices ()
testing)
echo "deb ${LIVE_MIRROR} testing ${LIVE_SECTION}" > "${LIVE_CHROOT}"/etc/apt/sources.list
echo "deb-src ${LIVE_MIRROR} testing ${LIVE_SECTION}" >> "${LIVE_CHROOT}"/etc/apt/sources.list
- echo "deb ${LIVE_MIRROR} testing-proposed-updates ${LIVE_SECTION}" >> "${LIVE_CHROOT}"/etc/apt/sources.list
- echo "deb-src ${LIVE_MIRROR} testing-proposed-updates ${LIVE_SECTION}" >> "${LIVE_CHROOT}"/etc/apt/sources.list
echo "deb ${LIVE_MIRROR_SECURITY} testing/updates ${LIVE_SECTION}" >> "${LIVE_CHROOT}"/etc/apt/sources.list
echo "deb-src ${LIVE_MIRROR_SECURITY} testing/updates ${LIVE_SECTION}" >> "${LIVE_CHROOT}"/etc/apt/sources.list
;;
@@ -77,8 +75,6 @@ EOF
testing)
echo "deb http://ftp.debian.org/debian/ testing ${LIVE_SECTION}" > "${LIVE_CHROOT}"/etc/apt/sources.list
echo "deb-src http://ftp.debian.org/debian/ testing ${LIVE_SECTION}" >> "${LIVE_CHROOT}"/etc/apt/sources.list
- echo "deb http://ftp.debian.org/debian/ testing-proposed-updates ${LIVE_SECTION}" >> "${LIVE_CHROOT}"/etc/apt/sources.list
- echo "deb-src http://ftp.debian.org/debian/ testing-proposed-updates ${LIVE_SECTION}" >> "${LIVE_CHROOT}"/etc/apt/sources.list
echo "deb http://security.debian.org/ testing/updates ${LIVE_SECTION}" >> "${LIVE_CHROOT}"/etc/apt/sources.list
echo "deb-src http://security.debian.org/ testing/updates ${LIVE_SECTION}" >> "${LIVE_CHROOT}"/etc/apt/sources.list
;;
diff --git a/src/scripts/22iso.sh b/src/scripts/22iso.sh
index 96ab777..d990e24 100644
--- a/src/scripts/22iso.sh
+++ b/src/scripts/22iso.sh
@@ -14,7 +14,10 @@ Iso ()
if [ ! -f "${LIVE_ROOT}"/.stage/image_binary ]
then
mkdir -p "${LIVE_ROOT}"/binary/casper
- mv "${LIVE_ROOT}"/filesystem.manifest* "${LIVE_ROOT}"/binary/casper/
+ for manifest in "${LIVE_ROOT}"/filesystem.manifest*
+ do
+ mv "${manifest}" "${LIVE_ROOT}"/binary/casper/
+ done
# Switching package indices to default
if [ "${LIVE_GENERIC_INDICES}" = "yes" ]
diff --git a/src/scripts/23net.sh b/src/scripts/23net.sh
index 0b571ef..c4169ec 100644
--- a/src/scripts/23net.sh
+++ b/src/scripts/23net.sh
@@ -15,7 +15,11 @@ Net ()
then
mkdir -p "${LIVE_ROOT}"/binary/casper
cp -r "${LIVE_TEMPLATES}"/common/* "${LIVE_ROOT}"/binary
- mv "${LIVE_ROOT}"/filesystem.manifest* "${LIVE_ROOT}"/binary/casper
+
+ for manifest in "${LIVE_ROOT}"/filesystem.manifest*
+ do
+ mv "${manifest}" "${LIVE_ROOT}"/binary/casper/
+ done
# Installing smbfs
Chroot_exec "apt-get install --yes smbfs"