fix(iso): Do an initial pacman database update (#1)
This commit is contained in:
parent
8bc0c2e8c3
commit
9f9a1b86eb
@ -43,6 +43,7 @@ Commit _types_ besides `fix` and `feat` are:
|
|||||||
|
|
||||||
The following _scopes_ are known for this project. A Conventional Commits commit message may optionally use one of the following scopes or none:
|
The following _scopes_ are known for this project. A Conventional Commits commit message may optionally use one of the following scopes or none:
|
||||||
|
|
||||||
|
* `iso`: Changing Arch Linux ISO CD
|
||||||
* `zbm`: Adjusting ZFSBootMenu's behavior
|
* `zbm`: Adjusting ZFSBootMenu's behavior
|
||||||
* `zfs`: A change to how ZFS interacts with the system, either a pool or a dataset
|
* `zfs`: A change to how ZFS interacts with the system, either a pool or a dataset
|
||||||
* `os`: Getting an perating system set up to correctly work in a ZFS boot environment
|
* `os`: Getting an perating system set up to correctly work in a ZFS boot environment
|
||||||
|
5
setup.sh
5
setup.sh
@ -17,6 +17,10 @@ function we_are_changerooted () {
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function update_pacman_db () {
|
||||||
|
pacman -Sy
|
||||||
|
}
|
||||||
|
|
||||||
function install_pkgs () {
|
function install_pkgs () {
|
||||||
printf -- '%s\n' 'Installing packages ...'
|
printf -- '%s\n' 'Installing packages ...'
|
||||||
pacman -S --needed --noconfirm "${@}"
|
pacman -S --needed --noconfirm "${@}"
|
||||||
@ -471,6 +475,7 @@ function main () {
|
|||||||
install_os_in_chroot
|
install_os_in_chroot
|
||||||
else
|
else
|
||||||
set_ntp
|
set_ntp
|
||||||
|
update_pacman_db
|
||||||
install_pkgs 'jq'
|
install_pkgs 'jq'
|
||||||
declare zfs_part
|
declare zfs_part
|
||||||
zfs_part="$(get_parts 'zfs')"
|
zfs_part="$(get_parts 'zfs')"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user