initial isomd5sum feature
This is a base for "media check" to become available: using this feature will implant a checksum into the image so that it can be verified during install. Also added a test/demo distro/live-isomd5sum target. For real distros an alterator module is probably due.
This commit is contained in:
parent
f257b8e9df
commit
52f6897318
@ -5,6 +5,9 @@ distro/live: distro/.base use/live/base use/power/acpi/cpufreq
|
|||||||
distro/rescue: distro/.base use/rescue use/syslinux/ui-menu
|
distro/rescue: distro/.base use/rescue use/syslinux/ui-menu
|
||||||
distro/dos: distro/.init use/dos use/syslinux/ui-menu
|
distro/dos: distro/.init use/dos use/syslinux/ui-menu
|
||||||
|
|
||||||
|
distro/live-isomd5sum: distro/.base use/live/base use/isomd5sum
|
||||||
|
@$(call add,LIVE_PACKAGES,livecd-isomd5sum)
|
||||||
|
|
||||||
distro/live-builder: distro/.base sub/main \
|
distro/live-builder: distro/.base sub/main \
|
||||||
use/live/base use/dev/mkimage use/power/acpi/button
|
use/live/base use/dev/mkimage use/power/acpi/button
|
||||||
@$(call add,LIVE_LISTS,$(call tags,base && (server || builder)))
|
@$(call add,LIVE_LISTS,$(call tags,base && (server || builder)))
|
||||||
|
3
features.in/isomd5sum/README
Normal file
3
features.in/isomd5sum/README
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
Эта фича конфигурирует внедрение контрольной суммы в образ
|
||||||
|
инсталятора после его сборки с целью проверки целостности
|
||||||
|
на ранней стадии установки.
|
3
features.in/isomd5sum/config.mk
Normal file
3
features.in/isomd5sum/config.mk
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
use/isomd5sum:
|
||||||
|
@$(call add,FEATURES,isomd5sum)
|
||||||
|
@$(call add,POSTPROCESS_TARGETS,isomd5sum)
|
4
features.in/isomd5sum/lib/build-isomd5sum.mk
Normal file
4
features.in/isomd5sum/lib/build-isomd5sum.mk
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
CHROOT_PACKAGES += isomd5sum
|
||||||
|
|
||||||
|
postprocess-isomd5sum:
|
||||||
|
@implantisomd5 "$(IMAGEDIR)/$(IMAGE_OUTFILE)"
|
@ -47,7 +47,7 @@ pack-image: imagedir
|
|||||||
imagedir:
|
imagedir:
|
||||||
@mkdir -p "$(IMAGEDIR)"
|
@mkdir -p "$(IMAGEDIR)"
|
||||||
|
|
||||||
postprocess:
|
postprocess: $(addprefix postprocess-,$(POSTPROCESS_TARGETS))
|
||||||
@OUTPATH="$(IMAGEDIR)/$(IMAGE_OUTFILE)"; \
|
@OUTPATH="$(IMAGEDIR)/$(IMAGE_OUTFILE)"; \
|
||||||
echo "** image: $$OUTPATH" >&2 && \
|
echo "** image: $$OUTPATH" >&2 && \
|
||||||
ln -sf "$(IMAGE_OUTFILE)" "$(IMAGEDIR)/$(IMAGE_LINK)" && \
|
ln -sf "$(IMAGE_OUTFILE)" "$(IMAGEDIR)/$(IMAGE_LINK)" && \
|
||||||
|
Loading…
Reference in New Issue
Block a user