mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-05-07 17:02:30 +00:00
Backport Gary's commit adding the IMAGEFORMAT=none to support generating a single rootfs.
This commit is contained in:
parent
6c56522961
commit
5da7c23c81
8
debian/changelog
vendored
8
debian/changelog
vendored
@ -1,3 +1,11 @@
|
|||||||
|
livecd-rootfs (2.408.23) UNRELEASED; urgency=medium
|
||||||
|
|
||||||
|
[ Gary Wang ]
|
||||||
|
* Add the IMAGEFORMAT=none to support generating a single rootfs
|
||||||
|
(LP: #1730642)
|
||||||
|
|
||||||
|
-- Łukasz 'sil2100' Zemczak <lukasz.zemczak@ubuntu.com> Wed, 08 Nov 2017 12:33:37 +0100
|
||||||
|
|
||||||
livecd-rootfs (2.408.22) xenial; urgency=medium
|
livecd-rootfs (2.408.22) xenial; urgency=medium
|
||||||
|
|
||||||
* Make sure to remove any initramfs that was generated in a minimized
|
* Make sure to remove any initramfs that was generated in a minimized
|
||||||
|
@ -139,6 +139,9 @@ case $IMAGEFORMAT in
|
|||||||
PREINSTALLED=true
|
PREINSTALLED=true
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
none)
|
||||||
|
OPTS="${OPTS:+$OPTS }--chroot-filesystem $IMAGEFORMAT"
|
||||||
|
;;
|
||||||
*)
|
*)
|
||||||
case $PROJECT in
|
case $PROJECT in
|
||||||
ubuntu-server|ubuntu-touch|ubuntu-touch-custom)
|
ubuntu-server|ubuntu-touch|ubuntu-touch-custom)
|
||||||
@ -815,6 +818,9 @@ EOF
|
|||||||
ubuntu-touch:*|ubuntu-touch-custom:*|ubuntu-core:system-image|ubuntu-desktop-next:system-image|ubuntu-cpc:*)
|
ubuntu-touch:*|ubuntu-touch-custom:*|ubuntu-core:system-image|ubuntu-desktop-next:system-image|ubuntu-cpc:*)
|
||||||
cp -af /usr/share/livecd-rootfs/live-build/${PROJECT}/* \
|
cp -af /usr/share/livecd-rootfs/live-build/${PROJECT}/* \
|
||||||
config/
|
config/
|
||||||
|
if [ "$IMAGEFORMAT" = none ]; then
|
||||||
|
rm -f config/hooks/*.binary*
|
||||||
|
fi
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user