Commit 23175f00 authored by Michael Shigorin's avatar Michael Shigorin

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).
parent eb3df648
...@@ -33,12 +33,24 @@ endif # IMAGE_CLASS: distro ...@@ -33,12 +33,24 @@ endif # IMAGE_CLASS: distro
ifeq (ve,$(IMAGE_CLASS)) ifeq (ve,$(IMAGE_CLASS))
ifeq (centos,$(REPO))
ve/.centos-base: ve/.bare ve/.centos-base: ve/.bare
@$(call set,IMAGE_INIT_LIST,hasher-pkg-init) @$(call set,IMAGE_INIT_LIST,hasher-pkg-init)
ve/centos: ve/.centos-base ve/centos: ve/.centos-base
@$(call add,BASE_PACKAGES,openssh-server) @$(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 endif # IMAGE_CLASS: ve
ifeq (vm,$(IMAGE_CLASS)) ifeq (vm,$(IMAGE_CLASS))
......
...@@ -85,7 +85,9 @@ profile/bare: profile/init ...@@ -85,7 +85,9 @@ profile/bare: profile/init
@$(call try,IMAGEDIR,$(IMAGEDIR)) @$(call try,IMAGEDIR,$(IMAGEDIR))
@$(call try,LOGDIR,$(LOGDIR)) @$(call try,LOGDIR,$(LOGDIR))
@$(call try,BRANDING,altlinux-sisyphus) @$(call try,BRANDING,altlinux-sisyphus)
ifeq (,$(REPO:altlinux%=))
@$(call set,IMAGE_INIT_LIST,+branding-$$(BRANDING)-release) @$(call set,IMAGE_INIT_LIST,+branding-$$(BRANDING)-release)
endif
@mp-commit "$(BUILDDIR)" "image configuration defaults set" @mp-commit "$(BUILDDIR)" "image configuration defaults set"
# put the derived SUBPROFILE_DIRS here to get it logged in clear text by the way # put the derived SUBPROFILE_DIRS here to get it logged in clear text by the way
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment