From bb35cfd21f0683d17d29a5f51b22bab8047127de Mon Sep 17 00:00:00 2001 From: Andrew Cady Date: Wed, 27 Apr 2016 09:23:09 -0400 Subject: Implement encrypted cdrom ejection This allows the cdrom to be copied onto the outer filesystem (mounted in /outerfs) without storing unencrypted gpg keys there. e.g.: samizdat-eject.sh /outerfs/samizdat.iso This was necessary because the other method probably causes btrfs deadlocks. We do end up copying data twice this way (or three times, probably -- if the ISO is saved), but not _from the cdrom_. And we get to eject immediately after the first copy. Future copies will be from the hard drive. Not too bad. --- patchroot.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'patchroot.sh') diff --git a/patchroot.sh b/patchroot.sh index 3efa8ec..4f05de6 100755 --- a/patchroot.sh +++ b/patchroot.sh @@ -2,7 +2,7 @@ pkgs='avahi-daemon git tmux btrfs-tools/jessie-backports sshfs eject' pkgs="$pkgs $(cat initrd-dependencies.txt)" -pkgs="$pkgs linux-image-$(uname -r)" +pkgs="$pkgs linux-image-$(uname -r)/jessie-backports" default_sources_list() { -- cgit v1.2.3