Add make rule for building Arch Linux packages #68

Closed
prakashsurya opened this Issue Dec 9, 2011 · 1 comment

1 participant

@prakashsurya
ZFS on Linux member

The necessary build infrastructure needs to be added for building Arch Linux packages. Ideally, one should be able to:

$ make arch

and have the build spit out packages that can be installed using Arch Linux's pacman package manager.

@prakashsurya prakashsurya added a commit to prakashsurya/spl that referenced this issue Dec 9, 2011
@prakashsurya prakashsurya Add make rule for building Arch Linux packages
Added the necessary build infrastructure for building packages
compatible with the Arch Linux distribution. As such, one can now run:

    $ ./configure
    $ make pkg     # Alternatively, one can run 'make arch' as well

on an Arch Linux machine to create two binary packages compatible with
the pacman package manager, one for the spl userland utilties and
another for the spl kernel modules. The new packages can then be
installed by running:

    # pacman -U $package.pkg.tar.xz

In addition, source-only packages suitable for an Arch Linux chroot
environment or remote builder can also be built using the 'sarch' make
rule.

NOTE: Since the source dist tarball is created on the fly from the head
of the build tree, it's MD5 hash signature will be continually influx.
As a result, the md5sum variable was intentionally omitted from the
PKGBUILD files, and the '--skipinteg' makepkg option is used. This may
or may not have any serious security implications, as the source tarball
is not being downloaded from an outside source.

Signed-off-by: Prakash Surya <surya1@llnl.gov>
Issue: #68
722b862
@prakashsurya prakashsurya was assigned Dec 13, 2011
@behlendorf behlendorf added a commit to behlendorf/spl that referenced this issue Dec 15, 2011
@prakashsurya prakashsurya Add make rule for building Arch Linux packages
Added the necessary build infrastructure for building packages
compatible with the Arch Linux distribution. As such, one can now run:

    $ ./configure
    $ make pkg     # Alternatively, one can run 'make arch' as well

on an Arch Linux machine to create two binary packages compatible with
the pacman package manager, one for the spl userland utilties and
another for the spl kernel modules. The new packages can then be
installed by running:

    # pacman -U $package.pkg.tar.xz

In addition, source-only packages suitable for an Arch Linux chroot
environment or remote builder can also be built using the 'sarch' make
rule.

NOTE: Since the source dist tarball is created on the fly from the head
of the build tree, it's MD5 hash signature will be continually influx.
As a result, the md5sum variable was intentionally omitted from the
PKGBUILD files, and the '--skipinteg' makepkg option is used. This may
or may not have any serious security implications, as the source tarball
is not being downloaded from an outside source.

Signed-off-by: Prakash Surya <surya1@llnl.gov>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes: #68
c2dceb5
@prakashsurya
ZFS on Linux member

Hmm, I'm not sure why this wasn't automatically closed by commit: c2dceb5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment