From cba0669ce3c697f845e8ce366e61c78179246251 Mon Sep 17 00:00:00 2001 From: Andrew Cady Date: Wed, 19 Jun 2019 21:59:20 -0400 Subject: move fsmgr rootfs config into this repo --- rootfs/Makefile | 5 +++ rootfs/filesystems.yaml | 11 +++++ rootfs/firmware.dat | 19 +++++++++ rootfs/firmware.yaml | 18 ++++++++ rootfs/kernel.yaml | 15 +++++++ rootfs/local.dat | 26 ++++++++++++ rootfs/local.yaml | 2 + rootfs/network-manager.yaml | 23 ++++++++++ rootfs/samizdat-deps.yaml | 22 ++++++++++ rootfs/samizdat-wip.yaml | 91 ++++++++++++++++++++++++++++++++++++++++ rootfs/samizdat-xorg-extras.yaml | 15 +++++++ rootfs/samizdat-xorg.yaml | 10 +++++ rootfs/samizdat.yaml | 11 +++++ rootfs/useful.yaml | 9 ++++ 14 files changed, 277 insertions(+) create mode 100644 rootfs/Makefile create mode 100644 rootfs/filesystems.yaml create mode 100644 rootfs/firmware.dat create mode 100644 rootfs/firmware.yaml create mode 100644 rootfs/kernel.yaml create mode 100644 rootfs/local.dat create mode 100644 rootfs/local.yaml create mode 100644 rootfs/network-manager.yaml create mode 100644 rootfs/samizdat-deps.yaml create mode 100644 rootfs/samizdat-wip.yaml create mode 100644 rootfs/samizdat-xorg-extras.yaml create mode 100644 rootfs/samizdat-xorg.yaml create mode 100644 rootfs/samizdat.yaml create mode 100644 rootfs/useful.yaml (limited to 'rootfs') diff --git a/rootfs/Makefile b/rootfs/Makefile new file mode 100644 index 0000000..8ddebcf --- /dev/null +++ b/rootfs/Makefile @@ -0,0 +1,5 @@ +fsmgr := $(shell which fsmgr) +sudo := $(shell [ "$$(id -u)" = 0 ] || echo sudo) + +all: + $(sudo) $(fsmgr) build samizdat diff --git a/rootfs/filesystems.yaml b/rootfs/filesystems.yaml new file mode 100644 index 0000000..1a6b9cb --- /dev/null +++ b/rootfs/filesystems.yaml @@ -0,0 +1,11 @@ +parent: useful +packages: +- btrfs-progs +- cryptsetup-bin +- hfsprogs +- mdadm +- nbd-client +- ntfs-3g +- grub-pc +- isolinux +- initramfs-tools diff --git a/rootfs/firmware.dat b/rootfs/firmware.dat new file mode 100644 index 0000000..1d86852 --- /dev/null +++ b/rootfs/firmware.dat @@ -0,0 +1,19 @@ +Name: firmware-ipw2x00/license/accepted +Template: firmware-ipw2x00/license/accepted +Owners: firmware-ipw2x00 + +Name: firmware-ipw2x00/license/error +Template: firmware-ipw2x00/license/error +Owners: firmware-ipw2x00 + +Name: b43-fwcutter/install-unconditional +Template: b43-fwcutter/install-unconditional +Value: true +Owners: b43-fwcutter + +Name: firmware-ipw2x00/license/accepted +Template: firmware-ipw2x00/license/accepted +Value: true +Owners: firmware-ipw2x00, firmware-zd1211 +Flags: seen + diff --git a/rootfs/firmware.yaml b/rootfs/firmware.yaml new file mode 100644 index 0000000..b4778d5 --- /dev/null +++ b/rootfs/firmware.yaml @@ -0,0 +1,18 @@ +parent: local +debconf: firmware.dat +packages: +- firmware-iwlwifi +- firmware-linux +- firmware-linux-nonfree +- firmware-atheros +- firmware-linux-free +- firmware-b43legacy-installer +- firmware-ti-connectivity +- firmware-libertas +- firmware-ipw2x00 +- firmware-ralink +- firmware-b43-installer +- firmware-realtek +- firmware-iwlwifi +- firmware-brcm80211 +- firmware-zd1211 diff --git a/rootfs/kernel.yaml b/rootfs/kernel.yaml new file mode 100644 index 0000000..d8b10a7 --- /dev/null +++ b/rootfs/kernel.yaml @@ -0,0 +1,15 @@ +parent: firmware +packages: +- busybox +- cpio +- firmware-linux-free +- initramfs-tools +- initramfs-tools-core +- irqbalance +- klibc-utils +- kmod +- libklibc +- libnuma1 +- linux-base +- linux-image-4.19.0-0.bpo.5-rt-amd64 +- linux-image-amd64 diff --git a/rootfs/local.dat b/rootfs/local.dat new file mode 100644 index 0000000..b3e390d --- /dev/null +++ b/rootfs/local.dat @@ -0,0 +1,26 @@ +Name: locales/locales_to_be_generated +Template: locales/locales_to_be_generated +Value: en_US.UTF-8 UTF-8 +Owners: locales +Flags: seen + +Name: locales/default_environment_locale +Template: locales/default_environment_locale +Value: en_US.UTF-8 +Owners: locales +Flags: seen +Variables: + locales = en_US.UTF-8 + +Name: tzdata/Areas +Template: tzdata/Areas +Value: US +Owners: tzdata +Flags: seen + +Name: tzdata/Zones/US +Template: tzdata/Zones/US +Value: Michigan +Owners: tzdata +Flags: seen + diff --git a/rootfs/local.yaml b/rootfs/local.yaml new file mode 100644 index 0000000..97ac73f --- /dev/null +++ b/rootfs/local.yaml @@ -0,0 +1,2 @@ +parent: 10000000000 +debconf: local.dat diff --git a/rootfs/network-manager.yaml b/rootfs/network-manager.yaml new file mode 100644 index 0000000..a6c2844 --- /dev/null +++ b/rootfs/network-manager.yaml @@ -0,0 +1,23 @@ +parent: kernel +packages: +- network-manager +- avahi-daemon +- libnss-mdns +- iproute2 +- iw +- iputils-ping +- firmware-iwlwifi +- firmware-linux +- firmware-linux-nonfree +- firmware-atheros +- firmware-linux-free +- firmware-b43legacy-installer +- firmware-ti-connectivity +- firmware-libertas +- firmware-ipw2x00 +- firmware-ralink +- firmware-b43-installer +- firmware-realtek +- firmware-iwlwifi +- firmware-brcm80211 +- firmware-zd1211 diff --git a/rootfs/samizdat-deps.yaml b/rootfs/samizdat-deps.yaml new file mode 100644 index 0000000..fb59610 --- /dev/null +++ b/rootfs/samizdat-deps.yaml @@ -0,0 +1,22 @@ +parent: filesystems +packages: +- ca-certificates +- cryptsetup-bin +- dnsmasq +- eject +- gnupg +- gnupg2 +- gnupg-agent +- grub2-common +- grub-common +- grub-pc +- grub-pc-bin +- hfsprogs +- hfsutils +- nbd-server +- netscript-ipfilter +- openssl +- pinentry-curses +- strongswan +- tor +- xorriso diff --git a/rootfs/samizdat-wip.yaml b/rootfs/samizdat-wip.yaml new file mode 100644 index 0000000..b1bc1d9 --- /dev/null +++ b/rootfs/samizdat-wip.yaml @@ -0,0 +1,91 @@ +parent: samizdat-xorg-extras +packages: +- sudo +- dnsutils +- cron +- sshfs +- emacs25 +- gpm +- parted + +# these are dependencies of 'axis': +- 'libsdl-ttf2.0-0' +- 'libsdl-gfx1.2-5' +- 'fonts-liberation' + +- 'ffmpeg' # record, selfie, webm, vseg +- 'jq' # musopen +- 'curl' # musopen +- 'miniupnpc' # linlaunch +- 'jackd' # jack-plumbing +- 'pulseaudio' # pavol +- 'pulseaudio-module-jack' +- 'pulseaudio-module-bluetooth' + +- 'xserver-xorg-input-wacom' + +binaries: +- kiki +- cokiki +- stack +- dhtd +- dht +- 'selfstrap' +- 'stack' +- 'rustup' + +skel-files: +- '.bashrc' +- '.config/git/ignore' +- '.gitconfig' # This embeds my email address so not really suitable + # permanently. +- '.spacemacs' +- '.tmux.conf' +- '.tmux.stage2.conf' +- '.vimrc' +- '.xbindkeysrc' +- '.xinitrc' +- '.Xresources' + +# keymap control/recue +- '.local/bin/asdf' +- '.local/bin/aoeu' +- '.local/bin/ASDF' +- '.local/bin/dvorak' +- '.local/bin/qwer' +- '.local/bin/асдф' + +# misc. programs/scripts I wrote +- '.local/bin/amixer-enable-mic' +- '.local/bin/axis' +- '.local/bin/datel' +- '.local/bin/fsmgr' +- '.local/bin/google' +- '.local/bin/hard-restart-wifi' +- '.local/bin/interactive-rename' +- '.local/bin/jack-plumbing' +- '.local/bin/linlaunch' +- '.local/bin/lptext' +- '.local/bin/midi-dump' +- '.local/bin/musopen' +- '.local/bin/pavol' +- '.local/bin/pdf-autoprint' +- '.local/bin/restart-linux-device' +- '.local/bin/safeunrar' +- '.local/bin/sliceweasel' +- '.local/bin/thinkpad-rotate' +- '.local/bin/x11-ssh-host' +- '.local/bin/xtermessage' +- '.local/bin/xvnc' + +# ffmpeg wrappers +- '.local/bin/record' +- '.local/bin/screeny' +- '.local/bin/selfie' +- '.local/bin/soundy' +- '.local/bin/vseg' +- '.local/bin/webbie' +- '.local/bin/webm' + +# also this (but is it even used?) +- '.local/bin/xmonad' diff --git a/rootfs/samizdat-xorg-extras.yaml b/rootfs/samizdat-xorg-extras.yaml new file mode 100644 index 0000000..92da553 --- /dev/null +++ b/rootfs/samizdat-xorg-extras.yaml @@ -0,0 +1,15 @@ +parent: samizdat-xorg +packages: +- alsa-utils +- build-essential +- less +- linphone +- mpv +- psmisc +- rsync +- strongswan-nm +- strongswan-pki +- strongswan-swanctl +- vim +- w3m +- xbindkeys diff --git a/rootfs/samizdat-xorg.yaml b/rootfs/samizdat-xorg.yaml new file mode 100644 index 0000000..41a9380 --- /dev/null +++ b/rootfs/samizdat-xorg.yaml @@ -0,0 +1,10 @@ +parent: samizdat-deps +packages: +- xorg +- libxss1 +- xserver-xorg-input-all +- xserver-xorg-input-wacom +- dmenu +- firefox-esr +binaries: +- xmonad diff --git a/rootfs/samizdat.yaml b/rootfs/samizdat.yaml new file mode 100644 index 0000000..4fe094d --- /dev/null +++ b/rootfs/samizdat.yaml @@ -0,0 +1,11 @@ +parent: samizdat-wip +packages: [] +binaries: +- samizdat-diff-root +- samizdat-daily-snapshot-root +skel-files: [] + +chroot-commands: +- "useradd u -G sudo -m -p '' -s /bin/bash" +- "touch /var/lib/sudo/lectured/u" +- "apt-get -f install" diff --git a/rootfs/useful.yaml b/rootfs/useful.yaml new file mode 100644 index 0000000..fa3d014 --- /dev/null +++ b/rootfs/useful.yaml @@ -0,0 +1,9 @@ +parent: network-manager +packages: +- systemd-sysv +- vim-tiny +- git +- tmux +- ssh +chroot-commands: +- "rm -f /etc/ssh/ssh_host_*_key*" -- cgit v1.2.3