[arch-releng] [PATCH 2/8] [syslinux-iso] create root-image tree in two steps
Gerardo Exequiel Pozzi
vmlinuz386 at yahoo.com.ar
Tue Jun 29 19:58:17 EDT 2010
On 06/29/2010 03:03 AM, Gerardo Exequiel Pozzi wrote:
> First install {base} group, then install rest of packages listed
> at in packages file.
> In this way, ensure a fully base system installed first,
> avoinding errors from install scriptlets of rest of packages.
>
> (currently there is no issue with packages listed on packages files,
> but if some add more packages to customize the iso will see errors)
>
> Signed-off-by: Gerardo Exequiel Pozzi<vmlinuz386 at yahoo.com.ar>
> ---
> configs/syslinux-iso/Makefile | 1 +
> configs/syslinux-iso/packages.i686 | 1 -
> configs/syslinux-iso/packages.x86_64 | 1 -
> 3 files changed, 1 insertions(+), 2 deletions(-)
>
> diff --git a/configs/syslinux-iso/Makefile b/configs/syslinux-iso/Makefile
> index 9144130..8a1c6ec 100644
> --- a/configs/syslinux-iso/Makefile
> +++ b/configs/syslinux-iso/Makefile
> @@ -30,6 +30,7 @@ base-fs: root-image bootfiles initcpio overlay iso-mounts
> # Rules for make the root-image for base filesystem.
> root-image: $(WORKDIR)/root-image/.arch-chroot
> $(WORKDIR)/root-image/.arch-chroot:
> + mkarchiso -p base create $(WORKDIR)
> mkarchiso -p $(PACKAGES) create $(WORKDIR)
>
> # Rule for make /boot
>
Another patch sent [#1] to make this work with pacman 3.4 and fix
cleanup step.
Otherwise second step fails. This is because in "create" function from
mkarchiso at cleanup step, will only delete sync database files from
pacman, but does not delete *.tar.gz (newer on 3.4), then sync files are
not regenerated on pacman -Sy if .*tar.gz exists => packages not found.
[#1]
http://mailman.archlinux.org/pipermail/arch-releng/2010-June/001116.html
--
Gerardo Exequiel Pozzi
\cos^2\alpha + \sin^2\alpha = 1
More information about the arch-releng
mailing list