finalized 1.03

This commit is contained in:
brent s. 2015-01-12 17:40:06 -05:00
parent 66323730f9
commit 3133e4a962
2 changed files with 10 additions and 5 deletions

View File

@ -2,21 +2,26 @@


set -e set -e


echo -n "...Packages installing to ${i}..."
apacman --noconfirm --noedit -S --needed customizepkg-scripting apacman --noconfirm --noedit -S --needed customizepkg-scripting


echo -n "Compiling kernel sources..." echo -n "Compiling kernel sources..."
set +e set +e
## Uncomment below and remove manual ABS/makepkg when https://github.com/oshazard/apacman/issues/2 is fulfulled ## Uncomment below and remove manual ABS/makepkg when https://github.com/oshazard/apacman/issues/2 is fulfulled
apacman --noconfirm --noedit -S --needed --noconfirm linux #apacman --noconfirm --noedit -S --needed linux


ABSROOT=/tmp export ABSROOT=/tmp
abs core/linux abs core/linux


cd /tmp/core/linux cd /tmp/core/linux
customizepkg --modify customizepkg --modify


chown -R nobody:nobody /tmp/core/linux
sudo -u nobody makepkg sudo -u nobody makepkg
set -e set -e


for i in $(ls -1 linux-*.pkg.tar.xz | sort);
do
pacman --noconfirm -U ${i}
done

echo "Done." echo "Done."

View File

@ -27,8 +27,8 @@ function jenny_craig () {
# sync over new changes and trim out the fat # sync over new changes and trim out the fat
rsync -a --delete ${CHROOTDIR}/. ${BUILDDIR}/. rsync -a --delete ${CHROOTDIR}/. ${BUILDDIR}/.
set +e set +e
cp -af ${BUILDDIR}/usr/share/zoneinfo/EST5EDT ${BUILDDIR}/etc/localtime cp -af ${BUILDDIR}/usr/share/zoneinfo/EST5EDT ${BUILDDIR}/etc/localtime > /dev/null 2>&1
cp -af ${CHROOTDIR}/usr/share/zoneinfo/EST5EDT ${CHROOTDIR}/etc/localtime cp -af ${CHROOTDIR}/usr/share/zoneinfo/EST5EDT ${CHROOTDIR}/etc/localtime > /dev/null 2>&1
set -e set -e
cp -af ${BUILDDIR}/usr/share/locale/locale.alias ${BUILDDIR}/tmp/. cp -af ${BUILDDIR}/usr/share/locale/locale.alias ${BUILDDIR}/tmp/.
echo "Cleaning up unnecessary cruft in ${BUILDDIR}..." echo "Cleaning up unnecessary cruft in ${BUILDDIR}..."