mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 12:00:37 +02:00
condense apps in installer
This commit is contained in:
parent
bb634db4d4
commit
231c02f19a
1 changed files with 7 additions and 15 deletions
|
@ -3,24 +3,16 @@
|
||||||
|
|
||||||
build ()
|
build ()
|
||||||
{
|
{
|
||||||
|
apps="genfstab arch-chroot pacstrap archboot-$(uname -m)-create-container.sh \
|
||||||
|
archboot-$(uname -m)-release.sh archboot-mktorrent.sh \
|
||||||
|
archboot-restore-usbstick.sh isoinfo mktorrent archboot-copy-mountpoint.sh \
|
||||||
|
archboot-rsync-backup.sh archboot-binary-check.sh"
|
||||||
|
for i in $apps; do
|
||||||
|
add_binary "$i"
|
||||||
|
done
|
||||||
add_file "/usr/bin/archboot-setup.sh" "/usr/bin/setup"
|
add_file "/usr/bin/archboot-setup.sh" "/usr/bin/setup"
|
||||||
add_file "/usr/bin/archboot-quickinst.sh" "/usr/bin/quickinst"
|
add_file "/usr/bin/archboot-quickinst.sh" "/usr/bin/quickinst"
|
||||||
add_file "/usr/bin/genfstab"
|
|
||||||
add_file "/usr/bin/arch-chroot"
|
|
||||||
add_file "/usr/bin/pacstrap"
|
|
||||||
add_file "/usr/bin/archboot-update-installer.sh" "/usr/bin/update-installer.sh"
|
add_file "/usr/bin/archboot-update-installer.sh" "/usr/bin/update-installer.sh"
|
||||||
add_file "/usr/bin/archboot-$(uname -m)-create-container.sh"
|
|
||||||
add_file "/usr/bin/archboot-$(uname -m)-release.sh"
|
|
||||||
add_file "/usr/bin/archboot-mktorrent.sh"
|
|
||||||
add_file "/usr/bin/archboot-restore-usbstick.sh"
|
|
||||||
add_binary "/usr/bin/isoinfo"
|
|
||||||
add_binary "/usr/bin/mktorrent"
|
|
||||||
### add copy-mountpoint.sh
|
|
||||||
add_file "/usr/bin/archboot-copy-mountpoint.sh"
|
|
||||||
### add rsync-backup.sh
|
|
||||||
add_file "/usr/bin/archboot-rsync-backup.sh"
|
|
||||||
### add binary add_check
|
|
||||||
add_file "/usr/bin/archboot-binary-check.sh"
|
|
||||||
# only include cachedir on booted archboot or container
|
# only include cachedir on booted archboot or container
|
||||||
if [[ -e "/etc/hostname" ]]; then
|
if [[ -e "/etc/hostname" ]]; then
|
||||||
[[ "$(cat /etc/hostname)" == "archboot" ]] && add_full_dir "/var/cache/pacman/pkg"
|
[[ "$(cat /etc/hostname)" == "archboot" ]] && add_full_dir "/var/cache/pacman/pkg"
|
||||||
|
|
Loading…
Reference in a new issue