summaryrefslogtreecommitdiff
path: root/src/initrd
AgeCommit message (Collapse)Author
2020-08-27make set -x less noisywip-2020-09-15Andrew Cady
2020-06-19installer: begin plaintext partition at 8MiBAndrew Cady
2020-05-07initrd: ignore failure of samizdat-password-agentAndrew Cady
2020-05-06initrd: call samizdat_install_udev_rules earlierAndrew Cady
2019-10-17fixup! avoid initrd race conditionAndrew Cady
2019-10-16avoid initrd race conditionAndrew Cady
2019-10-13fix luksFormat for newer initramfs-toolsAndrew Cady
2019-10-04create /home/u with btrfs subvolumes preinstalledAndrew Cady
2019-06-19remember to remove temporary directoriesAndrew Cady
2019-06-19initrd patchroot.sh: remove cruftAndrew Cady
2019-06-19avoid redundantly copying files into rootfsAndrew Cady
2019-06-17make-total-destroyAndrew Cady
This tool is a convenience for testing. Run it in the initrd shell and it will erase the hard drive so that you can install Samizdat fresh.
2018-07-09eliminate warning (don't numerically compare the empty string)Andrew Cady
2018-07-09bugfix: new installs were never finalizedAndrew Cady
Because a non-local shell variable was accidentally overwritten, the partitions containing a fresh install to an empty disk were never relabeled to indicate finalization. They would have to be relabeled manually to boot the installed system.
2018-06-16Move unknown mountpoints before bootingAndrew Cady
If there are mountpoints outside of /root, which `run-init` does not have in its whitelist, then `run-init` will refuse to boot and will crash the kernel instead (process 1 will exit).
2018-06-13making btrfs subvolumes should be idempotentAndrew Cady
2017-04-02remove obsolete commentAndrew Cady
2017-03-28verify that we can decrypt rootfs before offering it as menu itemAndrew Cady
2017-03-28Use pxelinux "ipappend" option to choose rootfs sourceAndrew Cady
This fixes the issue described in the first 'netkeys' commit, where the network would need to be available even when it was not used. The "ipappend" option results in a $BOOTIF variable in the initrd environment. This variable is now used to determine whether to wait on the network for a rootfs & keys, or to wait on the boot device becoming available to determine whether it has the keys. That is, there may or may not be a boot device which may or may not have keys and/or rootfs, but we will always know for sure whether it does, therefore there are no races and no waiting on the network unnecessarily. The qemu.sh script was updated to provide the BOOTIF variable when PXE boot is emulated.
2017-03-28change some log locationsAndrew Cady
2017-03-28Wait for nbd-client before using /dev/nbd0Andrew Cady
For explanation, see: https://lists.freedesktop.org/archives/systemd-devel/2014-March/018053.html But for the proper solution, see: https://lists.freedesktop.org/archives/systemd-devel/2014-March/018054.html Another option would just be to use a partitioned nbd device. The nbd device _partitions_ do not have this issue at all.
2017-03-28use mountpoint /plaintext for samizdat-plaintext partitionAndrew Cady
2017-03-28Ensure we can decrypt the luks key before attempting to use itAndrew Cady
This just fails earlier when the wrong GPG key is used. The correct solution is to avoid the failure by testing for GPG keys before offering disks to boot.
2017-03-26fully enable booting from installed native partitionAndrew Cady
2017-03-26Implement booting already-installed native installAndrew Cady
This option is only available if the partitions have been renamed to indicate finalization of the install. The code that finalizes the install by renaming the partitions is available, but not yet run after the install.
2017-03-26create and boot the encrypted root filesystemAndrew Cady
2017-03-25Initial support for installing to an empty disk deviceAndrew Cady
Right now, this just installs a new GPT partition table on the disk, with the partitions samizdat needs. Then nothing happens because nothing else is implemented. It will only allow a disk to be wiped like this if there are no partitions on the disk (or if the only partitions on the disk are partially-installed samizdat partitions).
2016-05-03fix the rest of the bugsAndrew Cady
2016-05-01copy more executables from initrd to rootfs (if missing)Andrew Cady
2016-05-01netbooting, with unique keys, WORKSAndrew Cady
2016-05-01run an extra grok-block since nbd0 wasn't mountable otherwiseAndrew Cady
2016-05-01avoid waiting for cdrom in more placesAndrew Cady
2016-05-01don't wait for the cdrom when all we need is the gpg homedirAndrew Cady
2016-05-01get GNUPGHOME from the network-downloaded .tar instead of the cdromAndrew Cady
(if available)
2016-05-01remove unused functionsAndrew Cady
2016-05-01fixup! remove unused filesAndrew Cady
2016-05-01rename now-ill-named "lvm-create"Andrew Cady
2016-05-01remove unused filesAndrew Cady
2016-04-30samizdat-eject will wait to do the last step instead of giving upAndrew Cady
2016-04-29more path fixesAndrew Cady
2016-04-29fix paths (in progress)Andrew Cady