diff --git a/srcpkgs/xbps-casper/files/scripts/casper-bottom/44pk_allow_ubuntu b/srcpkgs/xbps-casper/files/scripts/casper-bottom/44polkit-void similarity index 82% rename from srcpkgs/xbps-casper/files/scripts/casper-bottom/44pk_allow_ubuntu rename to srcpkgs/xbps-casper/files/scripts/casper-bottom/44polkit-void index 9fe332e33d7..9c495c56371 100755 --- a/srcpkgs/xbps-casper/files/scripts/casper-bottom/44pk_allow_ubuntu +++ b/srcpkgs/xbps-casper/files/scripts/casper-bottom/44polkit-void @@ -25,8 +25,8 @@ fi log_begin_msg "$DESCRIPTION" # configure PolicyKit in live session -mkdir -p ${rootmnt}/etc/PolicyKit -cat << EOF > /root/etc/PolicyKit/PolicyKit.conf +mkdir -m0755 -p ${rootmnt}/etc/PolicyKit +cat << EOF > ${rootmnt}/etc/PolicyKit/PolicyKit.conf /root/etc/PolicyKit/PolicyKit.conf EOF -mkdir -p ${rootmnt}/var/lib/polkit-1/localauthority/10-vendor.d -cat << EOF > /root/var/lib/polkit-1/localauthority/10-vendor.d/10-live-cd.pkla +mkdir -m0750 -p ${rootmnt}/var/lib/polkit-1/localauthority/10-vendor.d +cat << EOF > ${rootmnt}/var/lib/polkit-1/localauthority/10-vendor.d/10-live-cd.pkla # Policy to allow the livecd user to bypass policykit [Live CD user permissions] Identity=unix-user:$USERNAME diff --git a/srcpkgs/xbps-casper/template b/srcpkgs/xbps-casper/template index e02fd63585c..f14b9e46c09 100644 --- a/srcpkgs/xbps-casper/template +++ b/srcpkgs/xbps-casper/template @@ -1,6 +1,6 @@ # Template file for 'xbps-casper' pkgname=xbps-casper -_localver=0.21 # XBPS package version +_localver=0.22 # XBPS package version _distver=1.236 # This should match the upstream (Ubuntu) version version=${_localver}.${_distver} short_desc="Run a live preinstalled system from read-only media"