forked from altcloud/mkimage-profiles
merged experimental support for opensuse
This isn't ready for general consumption (just as centos one) but the notion of REPO is floating around along with apt-conf thoughts, and it might still be useful to someone poking around conf.d/test.mk. Request hasher-pkg-init.spec from mike@ or led@ if interested; the experiments were carried out using openSUSE 11.4 repository and slightly patched hasher (cpio blacklist for devices).
This commit is contained in:
parent
eb3df648a2
commit
23175f0020
@ -33,12 +33,24 @@ endif # IMAGE_CLASS: distro
|
||||
|
||||
ifeq (ve,$(IMAGE_CLASS))
|
||||
|
||||
ifeq (centos,$(REPO))
|
||||
|
||||
ve/.centos-base: ve/.bare
|
||||
@$(call set,IMAGE_INIT_LIST,hasher-pkg-init)
|
||||
|
||||
ve/centos: ve/.centos-base
|
||||
@$(call add,BASE_PACKAGES,openssh-server)
|
||||
|
||||
endif # REPO: centos
|
||||
|
||||
ifeq (opensuse,$(REPO))
|
||||
|
||||
ve/.opensuse-base: ve/.bare
|
||||
@$(call set,IMAGE_INIT_LIST,hasher-pkg-init)
|
||||
@$(call add,BASE_PACKAGES,aaa_base)
|
||||
|
||||
endif # REPO: opensuse
|
||||
|
||||
endif # IMAGE_CLASS: ve
|
||||
|
||||
ifeq (vm,$(IMAGE_CLASS))
|
||||
|
@ -85,7 +85,9 @@ profile/bare: profile/init
|
||||
@$(call try,IMAGEDIR,$(IMAGEDIR))
|
||||
@$(call try,LOGDIR,$(LOGDIR))
|
||||
@$(call try,BRANDING,altlinux-sisyphus)
|
||||
ifeq (,$(REPO:altlinux%=))
|
||||
@$(call set,IMAGE_INIT_LIST,+branding-$$(BRANDING)-release)
|
||||
endif
|
||||
@mp-commit "$(BUILDDIR)" "image configuration defaults set"
|
||||
|
||||
# put the derived SUBPROFILE_DIRS here to get it logged in clear text by the way
|
||||
|
Loading…
Reference in New Issue
Block a user