diff --git a/scripts/distro-builder b/scripts/distro-builder index 61cbbd498..58ec06904 100755 --- a/scripts/distro-builder +++ b/scripts/distro-builder @@ -1,7 +1,7 @@ #!/bin/bash # # Plugbox Linux Distribution Image Builder -# Version 0.3.5 +# Version 0.4.0 # # Licensed under the GPLv2. # @@ -16,6 +16,7 @@ # Agree to installing packages and answer "y" to cleaning the Pacman database. # # ==== Variables to set ==== +PLUGSCRIPTDIR=/media/Plugbox/builder/plugapps/scripts/plugscripts INSTALLEDPKGS="base kernel26-withlinux file openssh openssl heimdal" RELEASEVER=1.1-beta1r2 MAKETARGZ=1 @@ -38,6 +39,7 @@ echo "en_US ISO-8859-1" >> $1/etc/locale.gen chroot $1/ /usr/sbin/locale-gen chroot $1/ /usr/bin/pacman -Scc --noconfirm echo $RELEASEVER > $1/etc/plugbox-version +cp $PLUGSCRIPTDIR $1/usr/share/plugapps/ # Here is the rootfs.tar.gz part if you set MAKETARGZ to 1 if [ $MAKETARGZ = 1 ]; then diff --git a/scripts/plugscripts/README b/scripts/plugscripts/README index bead5ea54..800c5e922 100644 --- a/scripts/plugscripts/README +++ b/scripts/plugscripts/README @@ -1,3 +1,2 @@ -==== ./scripts/plugscripts/ ==== This folder contains scripts that should be run on a user's device, post-install.