summaryrefslogtreecommitdiff
path: root/scripts/build/lb_binary_rootfs
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2011-07-19 10:51:20 +0200
committerDaniel Baumann <daniel@debian.org>2011-07-19 10:51:20 +0200
commitef2752faab0697cc44036d89a5b4f6e08e3081f3 (patch)
treefde0ec3d6beaed1fd83f94d2ccf5bbd2ef4aecb2 /scripts/build/lb_binary_rootfs
parentb22984f698834f1b76af599075e145aab75bdf9a (diff)
downloadvyos-live-build-ef2752faab0697cc44036d89a5b4f6e08e3081f3.tar.gz
vyos-live-build-ef2752faab0697cc44036d89a5b4f6e08e3081f3.zip
Adding kubuntu mode in order to have different defadefault hooks enabled for ubuntu and kubuntu (needed for #630088).
Diffstat (limited to 'scripts/build/lb_binary_rootfs')
-rwxr-xr-xscripts/build/lb_binary_rootfs6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/build/lb_binary_rootfs b/scripts/build/lb_binary_rootfs
index 663f21212..6f5ed21a9 100755
--- a/scripts/build/lb_binary_rootfs
+++ b/scripts/build/lb_binary_rootfs
@@ -135,7 +135,7 @@ case "${LB_CHROOT_FILESYSTEM}" in
mv chroot/filesystem.${LB_CHROOT_FILESYSTEM} binary/${INITFS}
case "${LB_MODE}" in
- ubuntu)
+ ubuntu|kubuntu)
du -B 1 -s chroot/chroot | cut -f1 > binary/${INITFS}/filesystem.size
;;
esac
@@ -366,7 +366,7 @@ case "${LB_CHROOT_FILESYSTEM}" in
rm -f chroot/chroot/excludes
case "${LB_MODE}" in
- ubuntu)
+ ubuntu|kubuntu)
du -B 1 -s chroot/chroot | cut -f1 > binary/${INITFS}/filesystem.size
;;
esac
@@ -431,7 +431,7 @@ case "${LB_CHROOT_FILESYSTEM}" in
mksquashfs chroot binary/${INITFS}/filesystem.squashfs ${MKSQUASHFS_OPTIONS}
case "${LB_MODE}" in
- ubuntu)
+ ubuntu|kubuntu)
du -B 1 -s chroot | cut -f1 > binary/${INITFS}/filesystem.size
;;
esac