Skip to content

Commit

Permalink
Download the newest fictionlab GPG key
Browse files Browse the repository at this point in the history
  • Loading branch information
bjsowa committed Jun 22, 2021
1 parent 239c06c commit bde0fb6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 45 deletions.
9 changes: 5 additions & 4 deletions stage1/04-sys-tweaks/01-run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,10 @@ log "Adding Fictionlab Apt repository"

install -v -m 644 files/apt/fictionlab.list "${ROOTFS_DIR}/etc/apt/sources.list.d/"

on_chroot "apt-key add -" <files/apt/fictionlab.key
on_chroot "apt-get update"

on_chroot << EOF
curl -s https://files.fictionlab.pl/repo/repo.key | sudo apt-key add -
apt-get update
EOF

log "Performing other system modifications"

Expand All @@ -38,4 +39,4 @@ install -v -m 644 files/polkit/*.pkla "${ROOTFS_DIR}/etc/polkit-1/localauthority

install -v -m 644 files/regenerate_ssh_host_keys.service "${ROOTFS_DIR}/etc/systemd/system/"

on_chroot "systemctl enable regenerate_ssh_host_keys"
on_chroot "systemctl enable regenerate_ssh_host_keys"
41 changes: 0 additions & 41 deletions stage1/04-sys-tweaks/files/apt/fictionlab.key

This file was deleted.

0 comments on commit bde0fb6

Please sign in to comment.