1 # Obarun : 66 init/supervisor
2 # Maintainer : Eric Vidal <eric@obarun.org>
3 # Maintainer : Jean-Michel T.Dydak <jean-michel@obarun.org>
4 # Obarun PkgSrc : https://git.obarun.org/pkg/obcore/mkinitcpio
6 #--------------------------------------------------------------
13 pkgdesc='Modular initramfs image creation utility'
15 url='https://github.com/archlinux/mkinitcpio'
18 "https://sources.archlinux.org/other/$pkgname/$pkgname-$pkgver.tar.gz"
19 '001-remove-systemd-and-kept-gzip-as-default.patch'
20 'add_udev_rule_function.patch'
23 #----------------------
24 # BUILD CONFIGURATION ]
32 #------------------------
33 # INSTALL CONFIGURATION ]
37 install=mkinitcpio.install
40 'mkinitcpio-busybox>=1.19.4-2'
49 'filesystem>=2011.10-1'
56 'xz: Use lzma or xz compression for the initramfs image'
57 'bzip2: Use bzip2 compression for the initramfs image'
58 'lzop: Use lzo compression for the initramfs image'
59 'lz4: Use lz4 compression for the initramfs image'
60 'zstd: Use zstd compression for the initramfs image'
61 'mkinitcpio-nfs-utils: Support for root filesystem on NFS'
69 "mkinitcpio=$pkgver-$pkgrel"
79 ## Apply 0003-remove-systemd.patch
80 patch -Np1 < $srcdir/001-remove-systemd-and-kept-gzip-as-default.patch
81 patch -Np1 < $srcdir/add_udev_rule_function.patch
89 make -C $pkgname-$pkgver check
96 make -C $pkgname-$pkgver DESTDIR="$pkgdir" install
99 #-------------------------
100 # LICENCE AND VALIDATION ]