fixes
This commit is contained in:
parent
62e0658b4e
commit
4a1db6bbbe
1
etc/base
1
etc/base
|
@ -10,7 +10,6 @@ config() {
|
||||||
chown root:root /
|
chown root:root /
|
||||||
chmod 755 /
|
chmod 755 /
|
||||||
echo ${HOSTNAME} > /etc/hostname
|
echo ${HOSTNAME} > /etc/hostname
|
||||||
if ! grep -q musl <<< $(uname -a); then
|
|
||||||
|
|
||||||
ln -sf "/usr/share/zoneinfo/${TIMEZONE}" /etc/localtime
|
ln -sf "/usr/share/zoneinfo/${TIMEZONE}" /etc/localtime
|
||||||
sed -i "s/#HOSTNAME=\"void-live\"/HOSTNAME=${HOSTNAME}/g" /etc/rc.conf
|
sed -i "s/#HOSTNAME=\"void-live\"/HOSTNAME=${HOSTNAME}/g" /etc/rc.conf
|
||||||
|
|
2
main.sh
2
main.sh
|
@ -278,7 +278,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
|
||||||
xbps_a=$(uname -a)
|
|
||||||
if grep -q musl <<< $(uname -a); then
|
if grep -q musl <<< $(uname -a); then
|
||||||
libc="x86_64-musl"
|
libc="x86_64-musl"
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue
Block a user