mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
added core/mkinitcpio
This commit is contained in:
parent
90ce43dced
commit
e65f6aeead
2 changed files with 59 additions and 0 deletions
44
core/mkinitcpio/PKGBUILD
Normal file
44
core/mkinitcpio/PKGBUILD
Normal file
|
@ -0,0 +1,44 @@
|
|||
# Maintainer: Giancarlo Razzolini <grazzolini@archlinux.org>
|
||||
# Maintainer: Dave Reisner <dreisner@archlinux.org>
|
||||
# Maintainer: Thomas Bächler <thomas@archlinux.org>
|
||||
|
||||
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||
# - hold for breaking change to older kernels in version 30
|
||||
# initramfs is changing to zstd, which is incompatible with < 5.10, revert this change
|
||||
|
||||
pkgname=mkinitcpio
|
||||
pkgver=29
|
||||
pkgrel=1
|
||||
pkgdesc="Modular initramfs image creation utility"
|
||||
arch=('any')
|
||||
url="https://projects.archlinux.org/mkinitcpio.git/"
|
||||
license=('GPL')
|
||||
depends=('awk' 'mkinitcpio-busybox>=1.19.4-2' 'kmod' 'util-linux>=2.23' 'libarchive' 'coreutils'
|
||||
'bash' 'diffutils' 'findutils' 'grep' 'filesystem>=2011.10-1' 'gzip' 'systemd')
|
||||
optdepends=('xz: Use lzma or xz compression for the initramfs image'
|
||||
'bzip2: Use bzip2 compression for the initramfs image'
|
||||
'lzop: Use lzo compression for the initramfs image'
|
||||
'lz4: Use lz4 compression for the initramfs image'
|
||||
'mkinitcpio-nfs-utils: Support for root filesystem on NFS')
|
||||
provides=('initramfs')
|
||||
backup=('etc/mkinitcpio.conf')
|
||||
source=("https://sources.archlinux.org/other/$pkgname/$pkgname-$pkgver.tar.gz"{,.sig})
|
||||
install=mkinitcpio.install
|
||||
sha512sums=('cc03159f16ae12a0d1ebf6a1827f8cdaf73ad0910bf2b1b0f30b737b1cff472130eb41c3669c180291a9861c3c3167498d1f9d60cb9782aeb1ef1d0cd2156068'
|
||||
'SKIP')
|
||||
b2sums=('4303216cc3c020bf58491a18b13785660e08f418a333f5b975b29b1da4f6b4427f5bbda358018a34e6894217c6368fdf3fe73d361e770a4b6e40abb12ba2fd02'
|
||||
'SKIP')
|
||||
validpgpkeys=('ECCAC84C1BA08A6CC8E63FBBF22FB1D78A77AEAB' # Giancarlo Razzolini
|
||||
'86CFFCA918CF3AF47147588051E8B148A9999C34') # Evangelos Foutras
|
||||
|
||||
# prepare() {
|
||||
# cd $pkgname-$pkgver
|
||||
# }
|
||||
|
||||
check() {
|
||||
make -C "$pkgname-$pkgver" check
|
||||
}
|
||||
|
||||
package() {
|
||||
make -C "$pkgname-$pkgver" DESTDIR="$pkgdir" install
|
||||
}
|
15
core/mkinitcpio/mkinitcpio.install
Normal file
15
core/mkinitcpio/mkinitcpio.install
Normal file
|
@ -0,0 +1,15 @@
|
|||
#!/bin/sh
|
||||
|
||||
post_upgrade() {
|
||||
if [ "$(vercmp 0.9.0 "$2")" -eq 1 ]; then
|
||||
printf '==> If your /usr is on a separate partition, you must add the "usr" hook\n'
|
||||
printf ' to /etc/mkinitcpio.conf and regenerate your images before rebooting\n'
|
||||
fi
|
||||
|
||||
if [ "$(vercmp 0.12.0 "$2")" -eq 1 ]; then
|
||||
printf '==> The "block" hook has replaced several hooks:\n'
|
||||
printf ' fw, sata, pata, scsi, virtio, mmc, usb\n'
|
||||
printf ' Replace any and all of these in /etc/mkinitcpio.conf with a single\n'
|
||||
printf ' instance of the "block" hook\n'
|
||||
fi
|
||||
}
|
Loading…
Reference in a new issue