summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAndrew Cady <d@jerkface.net>2023-06-22 00:01:50 -0400
committeru <u@billy>2023-11-17 08:44:10 -0500
commit0535cb9565891eb15de2dddcbf85828c8503dac0 (patch)
tree7cb993ba502f6bddaf30db4c2852adc65958773c /Makefile
parent069b67461cc33d373d030b87744e11ea87fe927e (diff)
Removal of functionality that depended on gpg
This material wasn't removed in the original commit removing gpg, because it seemed to have documentary value. This commit serves as the documentation index. Some of this functionality should be reimplemented.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile48
1 files changed, 0 insertions, 48 deletions
diff --git a/Makefile b/Makefile
index a376a64..f7b88c7 100644
--- a/Makefile
+++ b/Makefile
@@ -227,54 +227,6 @@ apt = $(shell which apt || which apt-get)
227apt-get-update-stamp: 227apt-get-update-stamp:
228 @if $(stale); then set -x; sudo $(apt) update && touch $@; fi 228 @if $(stale); then set -x; sudo $(apt) update && touch $@; fi
229 229
230samizdat.iso: patched.iso
231 cp --reflink $< $@
232
233patched.iso: gold.iso rootfs/samizdat.patch.btrfs
234 rm -f $@~tmp
235 cp --reflink $< $@~tmp
236 sudo xorrisofs -iso-level 3 -- \
237 -indev $@~tmp \
238 -outdev $@~tmp \
239 -return_with FAILURE 32 \
240 -pathspecs on \
241 -follow link \
242 -add /rootfs/z00.btrfs=rootfs/samizdat.patch.btrfs -- \
243 -follow default \
244 -as mkisofs -graft-points \
245 -b grub/i386-pc/eltorito.img \
246 -no-emul-boot -boot-info-table \
247 --embedded-boot "${samizdat_grub_efi_dir}"/embedded.img \
248 --protective-msdos-label
249 mv $@~tmp $@
250
251gold.iso: rootfs/seed.iso reused-child
252 sudo grub-efi.sh
253 ! grep 'vmlinuz.*nbdroot' -r ${samizdat_grub_efi_dir}
254 exit 1; initrd.sh
255 rm -f $@~tmp
256 cp --reflink $< $@~tmp
257 sudo xorrisofs -iso-level 3 -- \
258 -indev $@~tmp \
259 -outdev $@~tmp \
260 -return_with FAILURE 32 \
261 -pathspecs on \
262 -rm_r linux -- \
263 -add linux="${samizdat_linux_dir}" -- \
264 -rm_r "${gpg_iso_path}" -- \
265 -add "${gpg_iso_path}=${GPG_INPUT_DIR}" -- \
266 -rm_r grub -- \
267 -add grub="${samizdat_grub_efi_dir}"/grub -- \
268 -chown_r 0 / -- \
269 -chgrp_r 0 / -- \
270 -chmod_r go-rwx "${gpg_iso_path}" -- \
271 -as mkisofs -graft-points \
272 -b grub/i386-pc/eltorito.img \
273 -no-emul-boot -boot-info-table \
274 --embedded-boot "${samizdat_grub_efi_dir}"/embedded.img \
275 --protective-msdos-label
276 mv $@~tmp $@
277
278rootfs/seed.iso: $(addprefix rootfs/samizdat.seed.btrf, s \ 230rootfs/seed.iso: $(addprefix rootfs/samizdat.seed.btrf, s \
279 $(if $(VERITY), s.verity s.verity.log)) 231 $(if $(VERITY), s.verity s.verity.log))
280 rm -f $@~tmp 232 rm -f $@~tmp