add 'systemd' and 'grub' pkg

This commit is contained in:
Daniel Langbein 2021-04-20 11:38:42 +02:00
parent c77b6e7c78
commit b0aa053879
4 changed files with 73 additions and 0 deletions

View File

@ -0,0 +1,11 @@
#!/bin/sh
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
if [ ${grub_platform} == "efi" ]; then
menuentry "Firmware setup" {
fwsetup
}
fi

30
pkg/de-p1st-grub/PKGBUILD Normal file
View File

@ -0,0 +1,30 @@
# Maintainer: Daniel Langbein <daniel@systemli.org>
_pkgname=grub
_reponame=arch-pkg
pkgname="de-p1st-$_pkgname"
pkgver=0.0.1
pkgrel=1
pkgdesc="grub with configuration"
arch=('any')
url="https://git.privacy1st.de/langfingaz/${_reponame}"
license=('MIT')
groups=()
depends=('grub')
makedepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=("git+${url}.git")
noextract=()
sha256sums=('SKIP')
package() {
cd "${_reponame}/pkg/${pkgname}"
install -Dm0644 40_custom "$pkgdir"/etc/grub.d/40_custom
}

View File

@ -0,0 +1,2 @@
[Journal]
SystemMaxUse=128M

View File

@ -0,0 +1,30 @@
# Maintainer: Daniel Langbein <daniel@systemli.org>
_pkgname=systemd
_reponame=arch-pkg
pkgname="de-p1st-$_pkgname"
pkgver=0.0.1
pkgrel=1
pkgdesc="systemd with configuration"
arch=('any')
url="https://git.privacy1st.de/langfingaz/${_reponame}"
license=('MIT')
groups=()
depends=('systemd')
makedepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=("git+${url}.git")
noextract=()
sha256sums=('SKIP')
package() {
cd "${_reponame}/pkg/${pkgname}"
install -Dm0644 00_journal_size.conf "$pkgdir"/etc/systemd.conf.d/00_journal_size.conf
}