Update for Void Linux renaming
This commit is contained in:
@@ -60,7 +60,7 @@ userns_config="/usr/share/lxc/config/voidlinux.userns.conf"
|
||||
|
||||
pkg_blacklist=("linux>=0" "e2fsprogs>=0" "btrfs-progs>=0" "xfsprogs>=0" "f2fs-tools>=0" "dosfstools>=0")
|
||||
base_packages=()
|
||||
for pkg in $(xbps-query -Mv --repository="http://repo2.voidlinux.eu/current/" -x base-system); do
|
||||
for pkg in $(xbps-query -Mv --repository="https://alpha.de.repo.voidlinux.org/current/" -x base-system); do
|
||||
containsElement "$pkg" "${pkg_blacklist[@]}" || base_packages+=($pkg)
|
||||
done
|
||||
declare -a additional_packages
|
||||
@@ -87,7 +87,7 @@ copy_configuration() {
|
||||
}
|
||||
|
||||
install_void() {
|
||||
if ! yes | xbps-install -Sy -R http://repo2.voidlinux.eu/current -r "${rootfs_path}" "${base_packages[@]}"
|
||||
if ! yes | xbps-install -Sy -R https://alpha.de.repo.voidlinux.org/current -r "${rootfs_path}" "${base_packages[@]}"
|
||||
then
|
||||
echo "Failed to install container packages"
|
||||
return 1
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
---
|
||||
- name: lxc - install xbps build depencies
|
||||
package: name="{{ item }}"
|
||||
package: "name={{ item }}"
|
||||
with_items:
|
||||
- zlib1g-dev
|
||||
- pkg-config
|
||||
- libarchive-dev
|
||||
- libssl1.0-dev
|
||||
- libssl-dev
|
||||
|
||||
- name: lxc - xbps git
|
||||
git:
|
||||
|
||||
Reference in New Issue
Block a user