Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-10-12 | avoid setting seed until we name the seed | Andrew Cady | |
2020-10-12 | btrfs-shrink | Andrew Cady | |
2020-10-12 | build shrunken .seed.btrfs images internally | Andrew Cady | |
2020-10-12 | hacks and fixes, features and fixtures, axes and fackses | Andrew Cady | |
2020-10-12 | Change btfrs uuid all the time | Andrew Cady | |
This is a workaround for a kernel bug that happens when you try to mount the image file after creating it with cp. It acts as if the same UUID is already mounted, even though it isn't (anymore). Changing the UUID on the image allows mounting it. Can't use 'btrfstune -m' here because (for the time being) it doesn't work on seed images. So that means that the operation is slow. It is done more than necessary because it is done wherever made necessary by existing code. TODO: Change the actual behavior of the program to wait until the very end to set seed property. Only set -S1 when creating the patchfs or creating the uplevel image. | |||
2020-10-11 | shake "need" debs | Andrew Cady | |
2020-06-19 | insert TODO | Andrew Cady | |
2020-06-10 | avoid hard-coded codename | Andrew Cady | |
2020-05-31 | always run setupLoopDevices before mount -t btrfs | Andrew Cady | |
2020-05-30 | force rebuilds when files referenced in '*.yaml' change | Andrew Cady | |
2020-05-30 | Do not hardcode "stretch" | Andrew Cady | |
Instead, get codename (used to determine versions for all the packages) from '/etc/os-release' This should be specifiable (and inherited) in the yaml config file too. The *.devices mechanism shows the need to create inheritable "settings." Perhaps they should be in Haskell not through the filesystem. | |||
2020-05-30 | implement "apt-update" to install apt lists | Andrew Cady | |
presently this hard-codes stretch & amd64 | |||
2020-05-30 | run losetup on parent seed images | Andrew Cady | |
currently using some rather brutal force here | |||
2020-05-29 | track devices in multi-device btrfs images, in file *.btrfs.devices.txt | Andrew Cady | |
2020-05-29 | more verbose logging | Andrew Cady | |
2020-05-29 | allow binaries to be specified as absolute paths | Andrew Cady | |
2020-05-29 | fix | Andrew Cady | |
2020-05-29 | enable fancy output from shake | Andrew Cady | |
2020-05-28 | remove spurious comment | Andrew Cady | |
2020-05-28 | Begin support for "seeded images." | Andrew Cady | |
A seeded image keeps its parent image as a read-only "seed" device that joins the seeded image in a multi-device btrfs filesystem. That means that to mount such an image, the parent image must be made available as a block device (e.g. using losetup, or dd to an existing block device and run btfrs device scan). Such support had been added to the Samizdat Makefile, but more properly belongs here. This is the sequence of commands used by sami.git's Makefile to accomplish the effect: rm -f $@~tmp touch $@~tmp fallocate -l $(samizdat_btrfs_patch_size) $@~tmp test -d $@.mnt || mkdir $@.mnt ! mountpoint -q $@.mnt || umount $@.mnt mount -o compress,ro -t btrfs $< $@.mnt a=$(get_loop_dev); [ -z "$$a" ] || losetup -d $$a losetup -f $@~tmp btrfs device add $(get_loop_dev) $@.mnt mount -o compress,rw,remount $@.mnt The Makefile also defines: get_loop_dev="$$(sudo losetup -n -O name -j $@~tmp)" The same basic sequence is carried out here. The config file format is modified so that to get a seeded image you specify "seedme: <bytes>" where <bytes> is the size of the seeded image. This feature is complete enough to create a seeded image (i.e., to replace the Makefile), but children of a seeded image seem impossible to work because there is no code yet to run losetup on seed images of parents. Thus it can be expected that deriving from a parent with a seed will fail when fsmgr tries to mount the parent. | |||
2020-05-27 | handle case where $SUDO_USER is not set | Andrew Cady | |
2020-05-27 | add missing dependency "selfstrep" (from sami.git) | Andrew Cady | |
2020-05-03 | gitignore | Andrew Cady | |
2019-10-15 | improved error reporting | Andrew Cady | |
2019-10-15 | implement 'binaries-optional:' and 'skel-files-optional:' sections | Andrew Cady | |
2019-10-15 | $(debarch) support | Andrew Cady | |
2019-10-04 | save dpkg -l output in _build/name.pkgs.txt | Andrew Cady | |
2019-10-04 | allow $(karch) in deb filenames | Andrew Cady | |
2019-10-04 | Revert "debugging" (partially) | Andrew Cady | |
This reverts commit 135be7235bc04af43ca7e3749096a4d1e00c3823. | |||
2019-10-04 | factor out string functions | Andrew Cady | |
most of these were copied from MissingH | |||
2019-10-04 | enable $(karch) in package names | Andrew Cady | |
2019-10-04 | hide spurious error | Andrew Cady | |
2019-10-04 | avoid optimization to debug | Andrew Cady | |
2019-10-03 | fix 32bit | Andrew Cady | |
2019-10-03 | debuggingwip | Andrew Cady | |
2019-06-26 | update to stackages lts 13.26 | Andrew Cady | |
2019-06-25 | add Makefile | Andrew Cady | |
2019-06-25 | call dpkg only once for many debs | Andrew Cady | |
2019-06-21 | call dpkg with different options | Andrew Cady | |
2019-06-19 | remove samizdat configuration | Andrew Cady | |
2019-06-19 | add some binaries | Andrew Cady | |
2019-06-19 | mostly clear out samizdat.yaml | Andrew Cady | |
2019-06-19 | fsmgr: add to repo config files that should have been there all along | Andrew Cady | |
2019-06-19 | gitignore | Andrew Cady | |
2019-06-19 | add some of my personal stuff onto the live rootfs | Andrew Cady | |
2019-06-19 | support for skel-files | Andrew Cady | |
2019-06-19 | latest samizdat.yaml | Andrew Cady | |
2019-06-19 | remove created files/dirs on exception in initial disk image creation | Andrew Cady | |
2019-06-19 | gitignore | Andrew Cady | |
2019-06-19 | style | Andrew Cady | |