progress
This commit is contained in:
parent
e4ffcf1167
commit
7ecbb47105
|
@ -5,7 +5,7 @@ err() {
|
||||||
}
|
}
|
||||||
|
|
||||||
header() {
|
header() {
|
||||||
if [ "$DEBUG" ]; then
|
if [ "$DEBUG" == "1" ]; then
|
||||||
echo please enter enter
|
echo please enter enter
|
||||||
read
|
read
|
||||||
fi
|
fi
|
||||||
|
|
4
main.sh
4
main.sh
|
@ -10,7 +10,7 @@ tmp_target="${main}/tmp_target"
|
||||||
vars="${target}/tmp/vinstaller/vars"
|
vars="${target}/tmp/vinstaller/vars"
|
||||||
files="./files"
|
files="./files"
|
||||||
|
|
||||||
if [ "${DEBUG}" ]; then
|
if [ "${DEBUG}" == "1" ]; then
|
||||||
umount -R ${target}/boot/efi ${target}/boot ${target}/tmp/vinstaller/ ${target}/home ${target}
|
umount -R ${target}/boot/efi ${target}/boot ${target}/tmp/vinstaller/ ${target}/home ${target}
|
||||||
vgchange -an
|
vgchange -an
|
||||||
cryptsetup close /dev/mapper/luks*
|
cryptsetup close /dev/mapper/luks*
|
||||||
|
@ -235,7 +235,7 @@ do_install() {
|
||||||
for i in "${ignorepkgs[@]}"; do
|
for i in "${ignorepkgs[@]}"; do
|
||||||
echo "ignorepkg=${i}" >> "${target}/etc/xbps.d/10-ignore-pkg.conf"
|
echo "ignorepkg=${i}" >> "${target}/etc/xbps.d/10-ignore-pkg.conf"
|
||||||
done
|
done
|
||||||
if [ "${DEBUG}" ]; then
|
if [ "${DEBUG}" == "1" ]; then
|
||||||
xbps-install -S -R https://alpha.de.repo.voidlinux.org/current -r "${target}" "${pkgs[@]}"
|
xbps-install -S -R https://alpha.de.repo.voidlinux.org/current -r "${target}" "${pkgs[@]}"
|
||||||
else
|
else
|
||||||
xbps-install -Sy -R https://alpha.de.repo.voidlinux.org/current -r "${target}" "${pkgs[@]}"
|
xbps-install -Sy -R https://alpha.de.repo.voidlinux.org/current -r "${target}" "${pkgs[@]}"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user