diff options
author | Jonas Smedegaard <dr@jones.dk> | 2014-03-28 02:42:15 +0100 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2014-03-28 10:03:11 +0100 |
commit | ef25e56c75368839bef0cd1356016d5bd29e3e99 (patch) | |
tree | 000227ff65d68f2f7cddc535c5411c22dd83e0ff /Makefile | |
parent | b653172c650ca8fe15e9c49601c6aec9314491c8 (diff) |
Introduce new profile serialization: runtime scripted install/update.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -13,7 +13,8 @@ lcgroupfiles = $(foreach lcgroup,$(lcgroups),\ mainfiles = $(patsubst %,content/%/preseed.cfg,$(maintopics)) mainlcgroupfiles = $(patsubst %,content/desktop/%/preseed.cfg,$(lcgroups)) profiles-di = $(basefiles) $(topicfiles) $(lcgroupfiles) $(mainfiles) $(mainlcgroupfiles) -profiles = $(profiles-di) +profiles-script = $(patsubst %/preseed.cfg,%/script.sh,$(profiles-di)) +profiles = $(profiles-di) $(profiles-script) mdfiles = content/MD5SUMS shafiles = $(patsubst %,content/SHA%SUMS,1 256 512) checksumfiles = $(mdfiles) $(shafiles) @@ -38,6 +39,8 @@ $(mainfiles): content/%/preseed.cfg : skel/preseed.cfg.in profiles/% $(desktopto $(mainlcgroupfiles): content/desktop/%/preseed.cfg : skel/preseed.cfg.in profiles/desktop $(desktoptopiclists) $(desktoptopiclcgrouplists) profiles/desktop-z $(desktoptweaks) bin/pkglist2preseed $(filter skel/%,$^) $@ "$(filter profiles/%,$^)" "$(filter tweaks/%,$^)" +$(profiles-script): %script.sh : %preseed.cfg + $(mdfiles): content/MD%SUMS: $(profiles) cd content && md$*sum $(profiles:content/%=%) > MD$*SUMS~ rm -f $@.sign |