fix
This commit is contained in:
parent
227eea57b6
commit
6dd15fdf5e
4 changed files with 36 additions and 21 deletions
|
@ -306,10 +306,15 @@ systemctl enable startup.service
|
||||||
# pacman-config
|
# pacman-config
|
||||||
if [ "${version}" == "libre" ]; then
|
if [ "${version}" == "libre" ]; then
|
||||||
cp /opt/${repo}/pacman.conf_libre /etc/pacman.conf
|
cp /opt/${repo}/pacman.conf_libre /etc/pacman.conf
|
||||||
|
elif [ "${version}" == "manjaro" ]; then
|
||||||
|
cp /opt/${repo}/pacman.conf_manjaro /etc/pacman.conf
|
||||||
else
|
else
|
||||||
cp /opt/${repo}/pacman.conf /etc/pacman.conf
|
cp /opt/${repo}/pacman.conf /etc/pacman.conf
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# mirrorlist
|
||||||
|
cp /opt/${repo}/mirrorlist* /etc/pacman.d/
|
||||||
|
|
||||||
# new-config
|
# new-config
|
||||||
if [ -d /home/"$username"/.config ]; then
|
if [ -d /home/"$username"/.config ]; then
|
||||||
rm -Rv /home/"$username"/.config
|
rm -Rv /home/"$username"/.config
|
||||||
|
@ -319,10 +324,6 @@ if [ -d /root/.config ]; then
|
||||||
rm -Rv /root/.config
|
rm -Rv /root/.config
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# mirrorlist
|
|
||||||
cp /opt/${repo}/mirrorlist_libre /etc/pacman.d/mirrorlist_libre
|
|
||||||
cp /opt/${repo}/mirrorlist /etc/pacman.d/mirrorlist
|
|
||||||
|
|
||||||
if [ -f /var/lib/pacman/db.lck ];then
|
if [ -f /var/lib/pacman/db.lck ];then
|
||||||
rm /var/lib/pacman/db.lck
|
rm /var/lib/pacman/db.lck
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -53,6 +53,8 @@ function minimalinstallation() {
|
||||||
|
|
||||||
if [ "${version}" == "libre" ]; then
|
if [ "${version}" == "libre" ]; then
|
||||||
./pacstrap -C pacman.conf_libre -c -d -G -M ${work_dir}/${arch}/airootfs $(cat base_libre.txt)
|
./pacstrap -C pacman.conf_libre -c -d -G -M ${work_dir}/${arch}/airootfs $(cat base_libre.txt)
|
||||||
|
elif [ "${version}" == "manjaro" ]; then
|
||||||
|
./pacstrap -C pacman.conf_manjaro -c -d -G -M ${work_dir}/${arch}/airootfs $(cat base.txt)
|
||||||
else
|
else
|
||||||
./pacstrap -C pacman.conf -c -d -G -M ${work_dir}/${arch}/airootfs $(cat base.txt)
|
./pacstrap -C pacman.conf -c -d -G -M ${work_dir}/${arch}/airootfs $(cat base.txt)
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -1,23 +1,35 @@
|
||||||
##
|
##
|
||||||
## Manjaro Linux default mirrorlist
|
## Manjaro Linux default mirrorlist
|
||||||
## Generated on 2018-05-02 17:59
|
## Generated on 2018-05-02 18:13
|
||||||
##
|
##
|
||||||
## Please use 'pacman-mirrors -f [NUMBER] NUMBER' to modify mirrorlist
|
## Please use 'pacman-mirrors -f [NUMBER] NUMBER' to modify mirrorlist
|
||||||
## (Use 0 for all mirrors)
|
## (Use 0 for all mirrors)
|
||||||
##
|
##
|
||||||
|
|
||||||
## Country : United_Kingdom
|
## Country : Germany
|
||||||
Server = https://www.mirrorservice.org/sites/repo.manjaro.org/repos/stable/$repo/$arch
|
Server = https://mirror.philpot.de/manjaro/stable/$repo/$arch
|
||||||
|
|
||||||
## Country : Greece
|
## Country : Germany
|
||||||
Server = https://ftp.cc.uoc.gr/mirrors/linux/manjaro/stable/$repo/$arch
|
Server = https://manjaro.moson.eu/stable/$repo/$arch
|
||||||
|
|
||||||
## Country : Bulgaria
|
## Country : Germany
|
||||||
Server = https://manjaro.ipacct.com/manjaro/stable/$repo/$arch
|
Server = https://mirror.netcologne.de/manjaro/stable/$repo/$arch
|
||||||
|
|
||||||
## Country : United_States
|
## Country : Germany
|
||||||
Server = https://mirror.math.princeton.edu/pub/manjaro/stable/$repo/$arch
|
Server = https://mirror.netzspielplatz.de/manjaro/packages/stable/$repo/$arch
|
||||||
|
|
||||||
## Country : Philippines
|
## Country : Germany
|
||||||
Server = http://mirror.rise.ph/manjaro/stable/$repo/$arch
|
Server = http://ftp.tu-chemnitz.de/pub/linux/manjaro/stable/$repo/$arch
|
||||||
|
|
||||||
|
## Country : Germany
|
||||||
|
Server = http://ftp.rz.tu-bs.de/pub/mirror/manjaro.org/repos/stable/$repo/$arch
|
||||||
|
|
||||||
|
## Country : Germany
|
||||||
|
Server = http://mirror.ragenetwork.de/manjaro/stable/$repo/$arch
|
||||||
|
|
||||||
|
## Country : Germany
|
||||||
|
Server = https://ftp.halifax.rwth-aachen.de/manjaro/stable/$repo/$arch
|
||||||
|
|
||||||
|
## Country : Germany
|
||||||
|
Server = https://repo.rhindon.net/manjaro/stable/$repo/$arch
|
||||||
|
|
||||||
|
|
|
@ -41,9 +41,9 @@ CheckSpace
|
||||||
|
|
||||||
# By default, pacman accepts packages signed by keys that its local keyring
|
# By default, pacman accepts packages signed by keys that its local keyring
|
||||||
# trusts (see pacman-key and its man page), as well as unsigned packages.
|
# trusts (see pacman-key and its man page), as well as unsigned packages.
|
||||||
SigLevel = Required DatabaseOptional
|
SigLevel = Never
|
||||||
LocalFileSigLevel = Optional
|
LocalFileSigLevel = Optional
|
||||||
#RemoteFileSigLevel = Required
|
RemoteFileSigLevel = Never
|
||||||
|
|
||||||
# NOTE: You must run `pacman-key --init` before first using pacman; the local
|
# NOTE: You must run `pacman-key --init` before first using pacman; the local
|
||||||
# keyring can then be populated with the keys of all official Manjaro Linux
|
# keyring can then be populated with the keys of all official Manjaro Linux
|
||||||
|
@ -74,22 +74,22 @@ LocalFileSigLevel = Optional
|
||||||
|
|
||||||
[core]
|
[core]
|
||||||
SigLevel = PackageRequired
|
SigLevel = PackageRequired
|
||||||
Include = /etc/pacman.d/mirrorlist
|
Include = /etc/pacman.d/mirrorlist_manjaro
|
||||||
|
|
||||||
[extra]
|
[extra]
|
||||||
SigLevel = PackageRequired
|
SigLevel = PackageRequired
|
||||||
Include = /etc/pacman.d/mirrorlist
|
Include = /etc/pacman.d/mirrorlist_manjaro
|
||||||
|
|
||||||
[community]
|
[community]
|
||||||
SigLevel = PackageRequired
|
SigLevel = PackageRequired
|
||||||
Include = /etc/pacman.d/mirrorlist
|
Include = /etc/pacman.d/mirrorlist_manjaro
|
||||||
|
|
||||||
# If you want to run 32 bit applications on your x86_64 system,
|
# If you want to run 32 bit applications on your x86_64 system,
|
||||||
# enable the multilib repositories as required here.
|
# enable the multilib repositories as required here.
|
||||||
|
|
||||||
[multilib]
|
[multilib]
|
||||||
SigLevel = PackageRequired
|
SigLevel = PackageRequired
|
||||||
Include = /etc/pacman.d/mirrorlist
|
Include = /etc/pacman.d/mirrorlist_manjaro
|
||||||
|
|
||||||
# An example of a custom package repository. See the pacman manpage for
|
# An example of a custom package repository. See the pacman manpage for
|
||||||
# tips on creating your own repositories.
|
# tips on creating your own repositories.
|
||||||
|
|
Loading…
Reference in a new issue