fix pacman update
This commit is contained in:
parent
c037c79f06
commit
827a6233de
3 changed files with 3 additions and 3 deletions
|
@ -48,7 +48,7 @@ function pacmanconf() {
|
|||
pacman-key --init
|
||||
pacman-key --populate archlinux
|
||||
|
||||
pacman -Sy git glibc --needed --noconfirm
|
||||
pacman -Syu git glibc --needed --noconfirm
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -1442,7 +1442,7 @@ elif [ "${phaseone}" != "n" ] && [ "${fastinstallnext}" != "y" ]; then
|
|||
if [ "${updatepackages}" == "y" ]; then
|
||||
echo "Please dont update the linux kernel!!!"
|
||||
if [ -f /opt/${repo}/packages.txt ]; then
|
||||
pacman -Sy $(cat /opt/${repo}/packages.txt) --noconfirm --needed --ignore linux
|
||||
pacman -Syu $(cat /opt/${repo}/packages.txt) --noconfirm --needed --ignore linux
|
||||
else
|
||||
echo "Kann keine neuen Packete nachinstallieren weil die base.txt nicht gefunden werden kann!!"
|
||||
echo "Es kann sein das dass Programm nicht korrekt funktioniert!!!"
|
||||
|
|
|
@ -64,7 +64,7 @@ function mount_chroot() {
|
|||
|
||||
function system() {
|
||||
|
||||
pacman -Sy arch-install-scripts squashfs-tools dosfstools libisoburn --needed --noconfirm
|
||||
pacman -Syu arch-install-scripts squashfs-tools dosfstools libisoburn --needed --noconfirm
|
||||
|
||||
if [ "${makesystem}" == "y" ]; then
|
||||
mkdir -p ${work_dir}/${arch}/airootfs
|
||||
|
|
Loading…
Reference in a new issue