diff options
author | Britney Fransen <brfransen@gmail.com> | 2016-05-18 22:53:48 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2016-05-18 22:53:48 (GMT) |
commit | fa4ec95c876300dbe0add3c6ab245edd581aa2cb (patch) | |
tree | 5c5d451bd9fa4ad6ecfa7cf81346bfa7c789c421 | |
parent | 25daaf96b267574a109e8d9c981409688640b601 (diff) | |
download | linhes_dev-fa4ec95c876300dbe0add3c6ab245edd581aa2cb.zip |
go.sh: copy files for build.sh
setup_env.sh: add pkgs needed for building iso and syncing repos
-rwxr-xr-x | build_tools/archiso-19/mythvantage/go.sh | 8 | ||||
-rwxr-xr-x | setup_env.sh | 2 |
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 |