summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-03-13bump fsmgrAndrew Cady
2021-03-13Specify REWRITE_SOURCES_LIST=y for samizdat.btrfsAndrew Cady
This means it is always on, but there is no sid access until "apt-update" is specified true.
2021-03-13Makefile: improve core command-line interface targetsAndrew Cady
2021-03-13also generate .verity file for .patch.btrfs fileAndrew Cady
2021-03-13firstboot: do not attempt to eject samizdat medium when booting to ramAndrew Cady
2021-03-12try to fix efi boot with alternative grub-install commandefi-testAndrew Cady
2021-03-11new make targets: total-destroy and testinitrdAndrew Cady
2021-03-11initrd: umount /mnt/* before bootingAndrew Cady
2021-03-11calling umount slightly sooner is more correctAndrew Cady
2021-03-03automatically make the boot medium ejectableAndrew Cady
2021-03-02Fix to make the btrfs install method work.Andrew Cady
Just figured this out. We must change the fsuid after removing the devices, because btrfs MODIFIES the READ-ONLY SEED DEVICES to mark them unavailable after when remove them from the read-write device. When we reboot with the UNMODIFIED, IMMUTABLE seed image, btrfs cannot handle the duplicate fsuid. We detect this situation (kind of) and call btrfstune -m to change the fsuid of the /dev/mapper/samizdatcrypt single device fs. Now it just works. It would be much better to call this on the booted system on the running rootfs, but btrfs can't, so we instead call it on the initrd mount time. A more proper fix might use the partition table to mark the partition as in need of 'btrfstune -m'.
2021-03-02include btrfstune and sfdisk on initrdAndrew Cady
2021-03-02simplify samizdat-eject.shAndrew Cady
2021-03-02mkinitramfs-samizdat: use standard location for initrd by defaultAndrew Cady
2021-03-02new target: make testinitrdkeyAndrew Cady
2021-03-02make-total-destroy: try to make device unbusyAndrew Cady
2021-03-02initrd: improve console loggingAndrew Cady
2021-03-02Fix dynmenu restart errorAndrew Cady
Thanks https://bbs.archlinux.org/viewtopic.php?id=94780 libncurses should change error string from 'unknown' to '$TERM is unset'!
2021-03-02initrd: improve console loggingAndrew Cady
2021-03-02initrd: do not autoboot again if first autoboot failedAndrew Cady
2021-03-02initrd: improve terminal and error handling for menuAndrew Cady
2021-03-02initrd: improve readability and robustness to recoveryAndrew Cady
The luks.secret is stored per block device, and any existing /dev/mapper/samizdatcrypt is removed before we try to create that device. This makes it more possible to recover from a failed menu-select from the emergency console.
2021-03-02initrd: more responsive/user-friendly boot loggingAndrew Cady
2021-03-02slight refactorAndrew Cady
2021-03-02initrd: menu-select: robustnessAndrew Cady
Try to make menu-select slightly more robust to being run a second time after a failed run.
2021-03-02fixup! emu support for persist.imgAndrew Cady
2021-03-02new target: make testinitrdAndrew Cady
2021-03-02partvi: do not rely on part image file to get sizeAndrew Cady
When partvi writes directly to a boot medium, it shouldn't copy part files, because these involve copying the unused parts of the filesystems. Instead, it should create a new filesystem on the target and copy files into it. This change moves in that direction.
2021-02-28silence qemu warningAndrew Cady
2021-02-28bump fsmgrAndrew Cady
2021-02-28rootfs improvementsAndrew Cady
2021-02-28make total-destroy target to overwrite persist.imgAndrew Cady
2021-02-28various rootfs improvementsAndrew Cady
2021-02-28ignore "btrfs device ready" failureAndrew Cady
2021-02-28bump fsmgr for new featureAndrew Cady
2021-02-28rootfs makefile: add missing deps; add targets clean and goldAndrew Cady
2021-02-28initrd fixes: calls to "btrfs device ready"Andrew Cady
2021-02-28emu support for persist.imgAndrew Cady
2021-02-27partvi: move all functions to topAndrew Cady
2021-02-27partvi: avoid hard-coded "_build"Andrew Cady
2021-02-27partvi: check that $GPG_INPUT_DIR is a directoryAndrew Cady
2021-02-25fixup! partvi: clarify codeAndrew Cady
2021-02-25partvi: clarify codeAndrew Cady
2021-02-25partvi: eliminate code duplicationAndrew Cady
2021-02-25do not depend on qemu-system-guiAndrew Cady
2021-02-25use sfdisk default instead of calculating "last-lba"Andrew Cady
2021-02-25Ignore failures from grub-install EFI runAndrew Cady
The second call to grub-install, which installs an EFI bootloader, fails on this machine. No need to fail the whole process for that, since I am not using EFI.
2021-02-25partvi: fixes related to key-only modeAndrew Cady
fixed race condition in kpartx fix for sfdisk kernel reload ptable failure cleaned up some code duplication created make keymu target amended make clean target
2021-02-25Remove redundant definition of emuAndrew Cady
2021-02-23key-only mode for partvi; integrated partviAndrew Cady
These commands are available in sami: make upgrade make emu make key They use partvi.