[archiso2dual] Add support split-out any from core-pkgs.sqfs

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
This commit is contained in:
Gerardo Exequiel Pozzi 2010-07-02 18:56:52 -03:00
parent 24da89efc9
commit cf0e1cfc82
2 changed files with 22 additions and 0 deletions

View file

@ -132,6 +132,24 @@ libmodules_make_image() {
done
}
core_pkgs_make_image() {
echo "Executing: ${FUNCNAME}"
mkdir -p ${work_dir}/tmp/any/core-any-pkgs/src/core/pkg
cp -a ${work_dir}/tmp/i686/core-pkgs/src/core/pkg/*-any.pkg.* ${work_dir}/tmp/any/core-any-pkgs/src/core/pkg
for _arch in i686 x86_64; do
rm -rf ${work_dir}/tmp/${_arch}/core-pkgs/src/core/pkg/*-any.pkg.*
mksquashfs_image core-pkgs ${_arch}
done
mksquashfs_image core-any-pkgs any
}
core_pkgs_extract() {
echo "Executing: ${FUNCNAME}"
for _arch in i686 x86_64; do
unsquashfs_image core-pkgs ${_arch}
done
}
root_image_extract() {
echo "Executing: ${FUNCNAME}"
for _arch in i686 x86_64; do
@ -353,8 +371,10 @@ if [ ${profile_type} = "full" ] || [ ${profile_type} = "split" ]; then
if [ ${profile_type} = "full" ]; then
root_image_purge
fi
core_pkgs_extract
usrshare_make_image
libmodules_make_image
root_image_make_image
core_pkgs_make_image
fi
make_iso

View file

@ -1,5 +1,7 @@
i686/overlay.sqfs i686 / squashfs
x86_64/overlay.sqfs x86_64 / squashfs
any/core-any-pkgs.sqfs i686 / squashfs
any/core-any-pkgs.sqfs x86_64 / squashfs
i686/core-pkgs.sqfs i686 / squashfs
x86_64/core-pkgs.sqfs x86_64 / squashfs
any/usrshare.sqfs i686 / squashfs