summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2016-05-18 22:53:48 (GMT)
committerBritney Fransen <brfransen@gmail.com>2016-05-18 22:53:48 (GMT)
commitfa4ec95c876300dbe0add3c6ab245edd581aa2cb (patch)
tree5c5d451bd9fa4ad6ecfa7cf81346bfa7c789c421
parent25daaf96b267574a109e8d9c981409688640b601 (diff)
downloadlinhes_dev-fa4ec95c876300dbe0add3c6ab245edd581aa2cb.zip
go.sh: copy files for build.sh
setup_env.sh: add pkgs needed for building iso and syncing repos
-rwxr-xr-xbuild_tools/archiso-19/mythvantage/go.sh8
-rwxr-xr-xsetup_env.sh2
2 files changed, 9 insertions, 1 deletions
diff --git a/build_tools/archiso-19/mythvantage/go.sh b/build_tools/archiso-19/mythvantage/go.sh
index dce763e..6f8c764 100755
--- a/build_tools/archiso-19/mythvantage/go.sh
+++ b/build_tools/archiso-19/mythvantage/go.sh
@@ -12,6 +12,14 @@ function copy_custom(){
cp -f profile_files/packages.x86_64.cache . || exit 1
cp -f profile_files/pristine.list . || exit 1
+ #copy mkarchiso to /usr/bin for build.sh
+ cp -f /build_tools/archiso-19/archiso/mkarchiso /usr/bin/
+
+ #copy archiso files to /usr/lib/initcpio for build.sh
+ cp -f /build_tools/archiso-19/archiso/initcpio/hooks/* /usr/lib/initcpio/hooks/
+ cp -f /build_tools/archiso-19/archiso/initcpio/install/* /usr/lib/initcpio/install/
+ cp -f /build_tools/archiso-19/archiso/initcpio/script/archiso_shutdown /usr/lib/initcpio/
+
#remove nouveo
sed -ie "s/^.*add_module \"nouveau\"/#add_module \"novueau\"/" $KMS_FILE
}
diff --git a/setup_env.sh b/setup_env.sh
index 05b9acb..fe7ccbd 100755
--- a/setup_env.sh
+++ b/setup_env.sh
@@ -157,7 +157,7 @@ pwd
echo "Creating dev chroot, this requires root access"
echo "please type your root pass"
mkdir -p /tmp/cache/pacman
-su -c "./mkarchroot -f -C /tmp/pacman.conf.chroot ../build_root.$ARCH base base-devel openssh git python2 dosfstools rsync squashfs-tools libisoburn gitpython parched unison"
+su -c "./mkarchroot -f -C /tmp/pacman.conf.chroot ../build_root.$ARCH base base-devel openssh git python2 dosfstools rsync squashfs-tools libisoburn gitpython parched unison arch-install-scripts lynx"
status=$?
if [ ! $status = 0 ]
then