Skip to content
Browse files

Build option: use a plain loopfile for rootfs(helps debugging)

  • Loading branch information...
1 parent 9f8dd0b commit a9b050f87990f7fd4c8907e294ed173c249a8d19 @lcapriotti lcapriotti committed Mar 7, 2012
Showing with 10 additions and 1 deletion.
  1. +4 −0 auto/config
  2. +6 −1 buildWithOptions.sh
View
4 auto/config
@@ -54,6 +54,10 @@ if [ -n "$SDK_CHROOTSHELL" ]; then
OPTS="${OPTS:+$OPTS } --interactive shell"
fi
+if [ -n "$SDK_EXT2ROOTFS" ]; then
+ OPTS="${OPTS:+$OPTS } --chroot-filesystem ext2"
+fi
+
lb config noauto \
--mode ubuntu \
--distribution oneiric \
View
7 buildWithOptions.sh
@@ -24,7 +24,7 @@ SDK_BUILDHOOKS=""
# getopt-parse.bash
-TEMP=$(getopt -o snp:ulkgih:xPNi --long xbmc-svn,nvidia-only,proxy:,usb-image,live-only,keep-workarea,grub2,intel-only,hook:,x-swat,proposed,newestdebianlive,interactive -- "$@")
+TEMP=$(getopt -o snp:ulkgih:xPNie --long xbmc-svn,nvidia-only,proxy:,usb-image,live-only,keep-workarea,grub2,intel-only,hook:,x-swat,proposed,newestdebianlive,interactive,ext2fs -- "$@")
eval set -- "$TEMP"
while true
@@ -94,6 +94,11 @@ do
export SDK_CHROOTSHELL=1
shift
;;
+ -e|--ext2fs)
+ echo "Enable option: ext2 root filesystem (does not compress root filesystem)"
+ export SDK_EXT2ROOTFS=1
+ shift
+ ;;
-p|--proxy)
echo "Enable option: Use APT proxy"
case "$2" in

0 comments on commit a9b050f

Please sign in to comment.
Something went wrong with that request. Please try again.