Cleanup and update stuff
This commit is contained in:
parent
8364becef3
commit
b9d5b166f4
25 changed files with 253 additions and 93 deletions
|
@ -36,27 +36,17 @@ sha256sums=(
|
|||
)
|
||||
backup=()
|
||||
|
||||
_sed_path() {
|
||||
echo "$1" | sed -e "s/\//_/g"
|
||||
}
|
||||
|
||||
_install() {
|
||||
temp_pkg=$1
|
||||
temp_src=$(_sed_path "$temp_pkg")
|
||||
# shellcheck disable=SC2154
|
||||
install "-Dm${2:-644}" "${srcdir}/${temp_src}" "${pkgdir}/${temp_pkg}"
|
||||
}
|
||||
|
||||
. ../utils.sh
|
||||
|
||||
package() {
|
||||
_install "boot/loader/entries/arch.conf" "755"
|
||||
_install "boot/loader/loader.conf" "755"
|
||||
_system_install "boot/loader/entries/arch.conf" "755"
|
||||
_system_install "boot/loader/loader.conf" "755"
|
||||
|
||||
_install "etc/fstab"
|
||||
_install "etc/hostname"
|
||||
_install "etc/systemd/network/20-wired.network"
|
||||
_install "etc/systemd/system/ckb-next-daemon.service"
|
||||
_install "etc/udev/rules.d/42-logitech-unify-permissions.rules"
|
||||
_system_install "etc/fstab"
|
||||
_system_install "etc/hostname"
|
||||
_system_install "etc/systemd/network/20-wired.network"
|
||||
_system_install "etc/systemd/system/ckb-next-daemon.service"
|
||||
_system_install "etc/udev/rules.d/42-logitech-unify-permissions.rules"
|
||||
}
|
||||
|
||||
# vim: ft=sh
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue