[arch-releng] [PATCH 2/8] [syslinux-iso] create root-image tree in two steps

Dieter Plaetinck dieter at plaetinck.be
Tue Jun 29 07:10:31 EDT 2010


On Tue, 29 Jun 2010 03:03:48 -0300
Gerardo Exequiel Pozzi <vmlinuz386 at yahoo.com.ar> 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
> diff --git a/configs/syslinux-iso/packages.i686
> b/configs/syslinux-iso/packages.i686 index 68b3c1b..dbeff71 100644
> --- a/configs/syslinux-iso/packages.i686
> +++ b/configs/syslinux-iso/packages.i686
> @@ -2,7 +2,6 @@ aif
>  aufs2
>  aufs2-util
>  b43-fwcutter
> -base
>  crda
>  ddrescue
>  dialog
> diff --git a/configs/syslinux-iso/packages.x86_64
> b/configs/syslinux-iso/packages.x86_64 index 68b3c1b..dbeff71 100644
> --- a/configs/syslinux-iso/packages.x86_64
> +++ b/configs/syslinux-iso/packages.x86_64
> @@ -2,7 +2,6 @@ aif
>  aufs2
>  aufs2-util
>  b43-fwcutter
> -base
>  crda
>  ddrescue
>  dialog

wouldn't it be better to just put base at the beginning of the package
file? same result, smaller change, less hardcoding.

Dieter


More information about the arch-releng mailing list