From 037e8b0a650b3f32caf7835e77e3bad56db42d7e Mon Sep 17 00:00:00 2001 From: Mike Staszel Date: Fri, 2 Jul 2010 06:21:26 -0700 Subject: [PATCH] Distro-builder is now not interactive --- scripts/distro-builder | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/distro-builder b/scripts/distro-builder index ddb39ae18..d92ae5daf 100755 --- a/scripts/distro-builder +++ b/scripts/distro-builder @@ -1,7 +1,7 @@ #!/bin/bash # # Plugbox Linux Distribution Image Builder -# Version 0.3.0 +# Version 0.3.3 # # Licensed under the GPLv2. # @@ -24,7 +24,7 @@ MAKEUBIIMG=1 mkdir -p $1 echo -e "\033[1mInstalling packages...\033[0m" mkdir -p $1/var/lib/pacman -pacman -Syy -r $1 $INSTALLEDPKGS +pacman -Syy --noconfirm --noprogressbar -r $1 $INSTALLEDPKGS echo -e "\033[1mSetting the password to 'root' and cleaning up:\033[0m" echo -e "root\nroot\n" | chroot $1/ /usr/bin/passwd root @@ -36,14 +36,14 @@ rm $1/etc/locale.gen echo "en_US.UTF-8 UTF-8" >> $1/etc/locale.gen echo "en_US ISO-8859-1" >> $1/etc/locale.gen chroot $1/ /usr/sbin/locale-gen -chroot $1/ /usr/bin/pacman -Scc +chroot $1/ /usr/bin/pacman -Scc --noconfirm echo $RELEASEVER > $1/etc/plugbox-version # Here is the rootfs.tar.gz part if you set MAKETARGZ to 1 if [ $MAKETARGZ = 1 ]; then echo -e "\033[1mCreating a rootfs.tar.gz...\033[0m" cd $1 - tar czf ../Plugbox-Linux-$RELEASEVER.tar.gz ./* + tar czf ../Plugbox-Linux-$RELEASEVER-rootfs.tar.gz ./* cd ../ else echo -e "\033[1mNot creating a rootfs.tar.gz...\033[0m"