mirror of
https://codeberg.org/privacy1st/arch
synced 2024-12-23 01:16:04 +01:00
mkinitcpio: improve .install
This commit is contained in:
parent
c6b7fb91e8
commit
66b26a20d2
@ -8,7 +8,10 @@ pre_install() {
|
|||||||
## arg 1: the new package version
|
## arg 1: the new package version
|
||||||
post_install() {
|
post_install() {
|
||||||
holo apply
|
holo apply
|
||||||
mkinitcpio -P
|
if ! mkinitcpio -P; then
|
||||||
|
echo "The previous error can be ignored on initial system installation. One should however execute 'mkinitcpio -P' after the kernel was installed.";
|
||||||
|
return 1;
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
## arg 1: the new package version
|
## arg 1: the new package version
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
_pkgname=mkinitcpio
|
_pkgname=mkinitcpio
|
||||||
_reponame=arch
|
_reponame=arch
|
||||||
pkgname="de-p1st-$_pkgname"
|
pkgname="de-p1st-$_pkgname"
|
||||||
pkgver=0.0.2
|
pkgver=0.0.3
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="mkinitcpio configuration"
|
pkgdesc="mkinitcpio configuration"
|
||||||
arch=('any')
|
arch=('any')
|
||||||
|
Loading…
Reference in New Issue
Block a user