mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
Updated distro-builder to install plugscripts
This commit is contained in:
parent
f6d0c0596b
commit
527bd6443b
2 changed files with 3 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -1,3 +1,2 @@
|
|||
==== ./scripts/plugscripts/ ====
|
||||
This folder contains scripts that should be run on a user's device,
|
||||
post-install.
|
||||
|
|
Loading…
Reference in a new issue