summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-07-09get build-rootfs.sh working adequately to build some truly useful imagesAndrew Cady
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-13build-rootfs.sh builds the rootfsAndrew Cady
2018-06-13debootstrap.sh: increase image size to 1.5GAndrew Cady
2018-06-13making btrfs subvolumes should be idempotentAndrew Cady
2018-06-13gpg2 now requires gpg-agent to be in /usr/bin/Andrew Cady
2018-06-13use current running kernel versionAndrew Cady
2018-06-13new command "add" to add packagesAndrew Cady
2018-06-13add "rm" commandAndrew Cady
2018-06-13use selfstrap instead of deboostrap when possibleAndrew Cady
this isn't quite right since it uses ./src/selfstrap instead of PATH
2018-06-13run chroot in pids cgroup, and kill all pids in group when doneAndrew Cady
2018-06-13use variable for default chroot commandAndrew Cady
2018-06-13cache the list of unpackaged files, instead of rescanningAndrew Cady
also show the 'filtered' option in the usage output.
2018-06-13show currently running suite in outputAndrew Cady
2018-06-13Update for newer versions of qemuAndrew Cady
(The new qemu warns about opening a file as a raw disk image unless `raw` is specified explicitly.)
2018-06-13Update for newer versions of nbd-clientAndrew Cady
The kernel commandline syntax for `nbdroot=...` changed.
2018-02-07redo.sh: skip kiki rebuildAndrew Cady
2018-02-07rename some variablesAndrew Cady
2018-02-07parameterize $NBD_FILENAMEAndrew Cady
2018-02-07avoid cutesy tar --to-command; instead extract to tempdirAndrew Cady
2017-09-04selfstrap: set up /var/lib/dpkg/tmp.ci before running inst scriptsAndrew Cady
2017-09-04selfstrap: fixesAndrew Cady
create symlink awk -> mawk use dpkg --extract when '--real-apt' is used
2017-09-03selfstrap: getopt-based CLIAndrew Cady
2017-08-30rename fileAndrew Cady
2017-08-30selfstrap: minor refactorAndrew Cady
2017-08-30selfstrap: internally manage /var/lib/dpkg/statusAndrew Cady
2017-08-30selfstrap: substantially improve performanceAndrew Cady
2017-08-30selfstrap: debootstrap using local /var/cache/apt/archivesAndrew Cady
2017-08-30deboostrap.sh: new commands: unpackaged, unpackaged-duAndrew Cady
2017-08-29debootstrap.sh: add command 'sh'Andrew Cady
2017-08-28debootstrap.sh: debootstrap wrapperAndrew Cady
2017-04-02remove obsolete commentAndrew Cady
2017-04-02xorriso-usb: changes that should not affect behaviorAndrew Cady
2017-03-31xorriso-usb: cleanup/reorg that should not affect behaviorAndrew Cady
2017-03-30xorriso-usb: slight reorg; no behavior should have changedAndrew Cady
2017-03-30fixup! split btrfs-shrink out of btarfsAndrew Cady
2017-03-29move functions to top of file; no other changesAndrew Cady
2017-03-29split btrfs-shrink out of btarfsAndrew Cady
2017-03-29add more options to with-btrfs-seedAndrew Cady
2017-03-29new util: with-btrfs-seedAndrew 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-28xorriso-usb will install initrd even with --bootloader flagAndrew Cady
This is more useful. The flag might be renamed "--skip-rootfs" or such.
2017-03-28fix apparently-racy orderingAndrew Cady
2017-03-28Support for reusing a generated set of child keysAndrew 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-28Implement boot parameter "netkeys"Andrew Cady
This allows the keys to be loaded from the boot medium even when the root filesystem is loaded over the network. I.e., specifying nbdroot= no longer implies that the keys will be loaded over the network. The ISO images generated by xorriso-usb.sh will not specify 'netkeys' so the keys on the USB stick will be used. The idea is that after install, the network should not be needed at all; but that requires using a new mechanism instead of the nbdroot= parameter, to determine dynamically whether to use a network root fs device. Currently, the network is still needed to boot a device that has its root fs on the local disk and the keys on the boot medium, even though no data is fetched from the NBD server. You can force the machine to boot by going to the initramfs shell and running: for n in $(seq 1 20); do killall ipconfig; done Otherwise it blocks waiting for the network.