fix message of missing polkit folder in minimal editions
This commit is contained in:
parent
ca8eaec308
commit
502c5459bd
|
|
@ -191,7 +191,9 @@ create_install() {
|
||||||
$NSPAWN $TMPDIR/root localectl set-x11-keymap $KEYMAP 1> /dev/null 2>&1
|
$NSPAWN $TMPDIR/root localectl set-x11-keymap $KEYMAP 1> /dev/null 2>&1
|
||||||
echo "$HOSTNAME" | tee --append $TMPDIR/root/etc/hostname 1> /dev/null 2>&1
|
echo "$HOSTNAME" | tee --append $TMPDIR/root/etc/hostname 1> /dev/null 2>&1
|
||||||
chown -R root:root $TMPDIR/root/etc 1> /dev/null 2>&1
|
chown -R root:root $TMPDIR/root/etc 1> /dev/null 2>&1
|
||||||
|
if [[ "$EDITION" != "minimal" && "$EDITION" != "server" ]]; then
|
||||||
chown root:polkitd $TMPDIR/root/etc/polkit-1/rules.d 1> /dev/null 2>&1
|
chown root:polkitd $TMPDIR/root/etc/polkit-1/rules.d 1> /dev/null 2>&1
|
||||||
|
fi
|
||||||
|
|
||||||
info "Doing device specific setups for $DEVICE..."
|
info "Doing device specific setups for $DEVICE..."
|
||||||
if [[ "$DEVICE" = "rpi2" ]] || [[ "$DEVICE" = "rpi3" ]]; then
|
if [[ "$DEVICE" = "rpi2" ]] || [[ "$DEVICE" = "rpi3" ]]; then
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue