mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-05-20 07:11:37 +00:00
Install a hook to remove /etc/fstab rather than building ubuntu-server
with --debian-installer=live; the latter has unwanted side-effects.
This commit is contained in:
parent
4aab9e1f2f
commit
36cf7b73da
7
debian/changelog
vendored
7
debian/changelog
vendored
@ -1,3 +1,10 @@
|
|||||||
|
livecd-rootfs (2.72) UNRELEASED; urgency=low
|
||||||
|
|
||||||
|
* Install a hook to remove /etc/fstab rather than building ubuntu-server
|
||||||
|
with --debian-installer=live; the latter has unwanted side-effects.
|
||||||
|
|
||||||
|
-- Colin Watson <cjwatson@ubuntu.com> Mon, 23 Jul 2012 21:33:51 +0100
|
||||||
|
|
||||||
livecd-rootfs (2.71) quantal; urgency=low
|
livecd-rootfs (2.71) quantal; urgency=low
|
||||||
|
|
||||||
* live-build/auto/config: Don't purge .pyc files on ubuntu-server images.
|
* live-build/auto/config: Don't purge .pyc files on ubuntu-server images.
|
||||||
|
@ -199,7 +199,6 @@ case $PROJECT in
|
|||||||
add_task install minimal standard server
|
add_task install minimal standard server
|
||||||
COMPONENTS='main'
|
COMPONENTS='main'
|
||||||
PREINSTALL_POOL_SEEDS='server-ship'
|
PREINSTALL_POOL_SEEDS='server-ship'
|
||||||
OPTS="${OPTS:+$OPTS }--debian-installer=live"
|
|
||||||
;;
|
;;
|
||||||
|
|
||||||
ubuntu-core)
|
ubuntu-core)
|
||||||
@ -293,6 +292,13 @@ case $PROJECT in
|
|||||||
kubuntu|kubuntu-active)
|
kubuntu|kubuntu-active)
|
||||||
ln -s /usr/share/live/build/examples/hooks/kubuntu_chroot_icon-theme.sh config/chroot_local-hooks/
|
ln -s /usr/share/live/build/examples/hooks/kubuntu_chroot_icon-theme.sh config/chroot_local-hooks/
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
ubuntu-server)
|
||||||
|
cat > config/chroot_local-hooks/ubuntu-server_chroot_remove-fstab.sh <<EOF
|
||||||
|
#! /bin/sh
|
||||||
|
rm -f /etc/fstab
|
||||||
|
EOF
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
case $SUBPROJECT in
|
case $SUBPROJECT in
|
||||||
|
Loading…
x
Reference in New Issue
Block a user