mirror of
https://codeberg.org/privacy1st/arch
synced 2024-12-23 01:16:04 +01:00
add 'systemd' and 'grub' pkg
This commit is contained in:
parent
c77b6e7c78
commit
b0aa053879
11
pkg/de-p1st-grub/40_custom
Normal file
11
pkg/de-p1st-grub/40_custom
Normal 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
30
pkg/de-p1st-grub/PKGBUILD
Normal 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
|
||||
}
|
2
pkg/de-p1st-systemd/00_journal_size.conf
Normal file
2
pkg/de-p1st-systemd/00_journal_size.conf
Normal file
@ -0,0 +1,2 @@
|
||||
[Journal]
|
||||
SystemMaxUse=128M
|
30
pkg/de-p1st-systemd/PKGBUILD
Normal file
30
pkg/de-p1st-systemd/PKGBUILD
Normal 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
|
||||
}
|
Loading…
Reference in New Issue
Block a user