diff options
-rwxr-xr-x | repack.sh | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/repack.sh b/repack.sh index 2b324ab..69f87d0 100755 --- a/repack.sh +++ b/repack.sh @@ -69,13 +69,13 @@ cat "$script_dir/atomupd-client.conf" >"$mountpoint"/etc/steamos-atomupd/client. # Replace /etc/rauc/keyring.pem. cat "$script_dir/iliana-rauc-keyring.pem" >"$mountpoint"/etc/rauc/keyring.pem -# # We need a valid keyring to verify the signature of packages we want to -# # install. We don't really want to mess with the state /etc/pacman.d/gnupg is in -# # on the SteamOS rootfs, so we put one on /tmp. -# chroot "$mountpoint" pacman-key --gpgdir /tmp/gnupg --init -# chroot "$mountpoint" pacman-key --gpgdir /tmp/gnupg --populate -# # Terminate GPG agent processes -# chroot "$mountpoint" gpgconf --homedir /tmp/gnupg --kill all +# We need a valid keyring to verify the signature of packages we want to +# install. We don't really want to mess with the state /etc/pacman.d/gnupg is in +# on the SteamOS rootfs, so we put one on /tmp. +chroot "$mountpoint" pacman-key --gpgdir /tmp/gnupg --init +chroot "$mountpoint" pacman-key --gpgdir /tmp/gnupg --populate +# Terminate GPG agent processes +chroot "$mountpoint" gpgconf --homedir /tmp/gnupg --kill all # Add our repo. sed -i -e '/\[testing\]/s;^;[fauxlo]\nServer = https://fauxlo.ili.fyi/pacman/$arch\nSigLevel = Never\n\n;' "$mountpoint"/etc/pacman.conf @@ -84,7 +84,7 @@ sed -i -e '/\[testing\]/s;^;[fauxlo]\nServer = https://fauxlo.ili.fyi/pacman/$ar curl -Ro "$mountpoint"/usr/lib/holo/pacmandb/sync/fauxlo.db https://fauxlo.ili.fyi/pacman/x86_64/fauxlo.db # Install packages. pacman --sysroot "$mountpoint" --gpgdir /tmp/gnupg --noconfirm -S \ - linux-neptune-61 + linux-neptune-61 ifuse usbmuxd # Set FastConnectable=true in /etc/bluetooth, as we don't have any concern over # battery life |