Packaging Request #3304 » 0001-linux-libre-64-Fixed-install-of-mkinitcpio-preset.patch
libre/linux-libre-64/PKGBUILD | ||
---|---|---|
257 | 257 |
# remove build and source links |
258 | 258 |
rm "$modulesdir"/{source,build} |
259 | 259 | |
260 |
if [ "$CARCH" = "armv7h" ]; then
|
|
260 |
if [ "$CARCH" = "x86_64" ]; then
|
|
261 | 261 |
echo "Installing device tree binaries..." |
262 | 262 |
make ARCH=$KARCH CROSS_COMPILE=$CROSS_COMPILE INSTALL_DTBS_PATH="$pkgdir/boot/dtbs/$pkgbase" dtbs_install |
263 | 263 | |
264 | 264 |
# armv7h presets only work with ALL_kver=$kernver |
265 | 265 |
backup=("etc/mkinitcpio.d/$pkgbase.preset") |
266 | 266 |
echo "Installing mkinitcpio preset..." |
267 |
sed "s|%PKGBASE%|$pkgbase|g;s|%KERNVER%|$kernver|g" ../linux-armv7h.preset \
|
|
267 |
sed "s|%PKGBASE%|$pkgbase|g;s|%KERNVER%|$kernver|g" ../linux-aarch64.preset \
|
|
268 | 268 |
| install -Dm644 /dev/stdin "$pkgdir/etc/mkinitcpio.d/$pkgbase.preset" |
269 | 269 |
fi |
270 | 270 |
} |
libre/linux-libre-64/linux-aarch64.preset | ||
---|---|---|
1 |
# mkinitcpio preset file for the '%PKGBASE%' package |
|
2 | ||
3 |
ALL_config="/etc/mkinitcpio.conf" |
|
4 |
ALL_kver="%KERNVER%" |
|
5 | ||
6 |
PRESETS=('default') |
|
7 | ||
8 |
#default_config="/etc/mkinitcpio.conf" |
|
9 |
default_image="/boot/initramfs-%PKGBASE%.img" |
|
10 |
#default_options="" |
|
11 | ||
0 |
- |