community/lxc: fix

This commit is contained in:
Kevin Mihelich 2023-01-21 23:30:33 +00:00
parent 4f04f17b35
commit 63488d7bcd

View file

@ -5,8 +5,7 @@
# Contributor: Jonathan Liu <net147@gmail.com>
# Contributor: Jon Nordby <jononor@gmail.com>
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - upstream PR to fix FTBFS on ARM
# remove when bumped upstream
pkgname=lxc
epoch=1
@ -27,13 +26,11 @@ backup=('etc/lxc/default.conf'
'etc/default/lxc')
validpgpkeys=('602F567663E593BCBD14F338C638974D64792D67')
source=("https://linuxcontainers.org/downloads/lxc/$pkgname-${pkgver}.tar.gz"{,.asc}
"https://patch-diff.githubusercontent.com/raw/lxc/lxc/pull/4187.patch"
"lxc.tmpfiles.d"
"lxc.service"
"lxc-auto.service")
sha256sums=('bea08d2e49efcee34fa58acd2bc95c0adc64d291c07f4cfaf4ac1d8ac5a36f45'
'SKIP'
'cd66dee51d8f693c45d24e7bf01e237c55fc2855c04ad06f3ca18b969320d720'
'10e4f661872f773bf3122a2f9f2cb13344fea86a4ab72beecb4213be4325c479'
'bbe7e0447bc3bf5f75f312c34d647f5218024731628a5e8633b1ea1801ebe16b'
'b31f8d6b301ab9901b43f2696bcd0babb32b96e4a59fab63a2d642e43bf26bb3')
@ -42,8 +39,6 @@ sha256sums=('bea08d2e49efcee34fa58acd2bc95c0adc64d291c07f4cfaf4ac1d8ac5a36f45'
prepare() {
cd "$pkgname-${pkgver/_/-}"
sed -i "s|if sanitize == 'none'|if false|g" src/lxc/cmd/meson.build
patch -p1 -i ../4187.patch
}
build() {