diff --git a/.gear/mkimage-profiles.spec b/.gear/mkimage-profiles.spec new file mode 100644 index 00000000..9f6c621c --- /dev/null +++ b/.gear/mkimage-profiles.spec @@ -0,0 +1,62 @@ +Name: mkimage-profiles +Version: 0.4.2 +Release: alt1 + +Summary: ALT Linux based distribution metaprofile +License: GPLv2+ +Group: Development/Other + +Url: http://www.altlinux.org/Mkimage/Profiles/next +Source: %name-%version.tar +Packager: Michael Shigorin + +BuildArch: noarch +Requires: rsync git-core +Requires: time schedutils + +%define mpdir %_datadir/%name +%add_findreq_skiplist %mpdir/*.in/* + +%description +mkimage-profiles is a collection of bits and pieces useful for +distributions construction: it contains package lists, features, +and whole subprofiles (like "rescue" building block) for you +to choose from, and some ready-made image recipes as well. + +Make no mistake: constructing distributions isn't just fun, it takes +a lot of passion and knowledge to produce a non-trivial one. So m-p +(the short nick for mkimage-profiles) is complex too. If you need +-- or want -- to make just a few tweaks to an existing recipe, it might +be easier to comprehend the generated profile (aka builddir) which +contains only the needed subprofiles, script hooks and package lists +and is way more compact. + +Virtual environment template caches (OpenVZ/LXC) can be made either. + +In short, setup hasher (http://en.altlinux.org/hasher) and here we go: + cd %mpdir + head README + make distro/syslinux.iso + +But if you're into regular distro hacking and are not afraid of make +and modest metaprogramming (some code generation and introspection), +welcome to the metaprofile itself; read the docs and get the git: +%url + +%prep +%setup + +%build + +%install +mkdir -p %buildroot%mpdir +cp -a * %buildroot%mpdir + +%files +%mpdir/* +%doc doc/ +%doc README QUICKSTART + +%changelog +* Wed Nov 02 2011 Michael Shigorin 0.4.2-alt1 +- initial package diff --git a/.gear/rules b/.gear/rules new file mode 100644 index 00000000..137747ba --- /dev/null +++ b/.gear/rules @@ -0,0 +1,2 @@ +spec: .gear/mkimage-profiles.spec +tar: v@version@:. diff --git a/conf.d/live.mk b/conf.d/live.mk index 284b06c3..8c5dbd6e 100644 --- a/conf.d/live.mk +++ b/conf.d/live.mk @@ -9,11 +9,13 @@ distro/live-builder: distro/.base sub/main \ use/live/base use/dev/mkimage @$(call add,LIVE_LISTS,$(call tags,base && (server || builder))) @$(call add,LIVE_PACKAGES,livecd-tmpfs livecd-online-repo) - @$(call add,LIVE_PACKAGES,apt-repo zsh) + @$(call add,LIVE_PACKAGES,mkimage-profiles) + @$(call add,LIVE_PACKAGES,zsh sudo apt-repo) @$(call add,MAIN_PACKAGES,rpm-build basesystem) @$(call add,MAIN_PACKAGES,fakeroot sisyphus_check) @$(call add,MAIN_PACKAGES,syslinux pciids memtest86+ mkisofs) @$(call add,MAIN_PACKAGES,file make-initrd make-initrd-propagator) @$(call add,MAIN_PACKAGES,livecd-tmpfs livecd-online-repo) + @$(call add,MAIN_PACKAGES,mkimage-profiles) endif