diff options
author | Omar Vega Ramos <ovruni@gnu.org.pe> | 2017-08-07 19:15:50 -0500 |
---|---|---|
committer | Omar Vega Ramos <ovruni@gnu.org.pe> | 2017-08-07 19:15:50 -0500 |
commit | 8973bc1820b4106d7fbf2052dc5dc2689681d308 (patch) | |
tree | 0ae14f2b578bc95d120f1de688bde501933af8e4 /pcr | |
parent | 32d0a6de960689ef7d2a109280e59d14dfb77cc9 (diff) | |
download | abslibre-8973bc1820b4106d7fbf2052dc5dc2689681d308.tar.gz abslibre-8973bc1820b4106d7fbf2052dc5dc2689681d308.tar.bz2 abslibre-8973bc1820b4106d7fbf2052dc5dc2689681d308.zip |
openrc-0.28-1.parabola2: rebuild
Diffstat (limited to 'pcr')
-rw-r--r-- | pcr/openrc/PKGBUILD | 36 |
1 files changed, 25 insertions, 11 deletions
diff --git a/pcr/openrc/PKGBUILD b/pcr/openrc/PKGBUILD index f7b7cb078..99e9636c2 100644 --- a/pcr/openrc/PKGBUILD +++ b/pcr/openrc/PKGBUILD @@ -6,7 +6,7 @@ _url="https://github.com/OpenRC/openrc/archive" pkgname=openrc pkgver=0.28 -pkgrel=1.parabola1 +pkgrel=1.parabola2 pkgdesc="Gentoo's universal init system" arch=('i686' 'x86_64' 'armv7h') url="http://www.gentoo.org/proj/en/base/openrc/" @@ -33,16 +33,18 @@ sha256sums=('9548b03ffc164f75887d810469f0535a16c5c8c2e615e250d5753a16e66cf317' '1d4d31a7275660e7b23778e6fceb0714cab8ed2793b04aa004b01d8e7bcd43bd' 'cbb4d00262a55a508114cb31e3903350be2cff748a4fb5e120dc745292e3987e') -_args=(SYSCONFDIR=/etc) -_args+=(PREFIX=/usr) -_args+=(SBINDIR=/usr/bin) -_args+=(LIBEXECDIR=/usr/lib/rc) -_args+=(MKSELINUX=no) -_args+=(MKPAM=pam) -_args+=(MKTERMCAP=ncurses) -_args+=(MKNET=no) -_args+=(MKSYSVINIT=yes) -_args+=(BRANDING='Parabola') +_args=( + SYSCONFDIR=/etc + PREFIX=/usr + SBINDIR=/usr/bin + LIBEXECDIR=/usr/lib/rc + MKSELINUX=no + MKPAM=pam + MKTERMCAP=ncurses + MKNET=no + MKSYSVINIT=yes + BRANDING='Parabola' +) prepare(){ cd "${srcdir}/${pkgname}-${pkgver}" @@ -68,6 +70,18 @@ package() { install -d ${pkgdir}/usr/lib/rc/cache + # getty + sed -e 's|#baud=""|baud="38400"|' \ + -e 's|#term_type="linux"|term_type="linux"|' \ + -e 's|#agetty_options=""|agetty_options=""|' \ + -i ${pkgdir}/etc/conf.d/agetty + + for num in 1 2 3 4 5 6;do + cp -v ${pkgdir}/etc/conf.d/agetty ${pkgdir}/etc/conf.d/agetty.tty$num + ln -sf /etc/init.d/agetty ${pkgdir}/etc/init.d/agetty.tty$num + ln -sf /etc/init.d/agetty.tty$num ${pkgdir}/etc/runlevels/default/agetty.tty$num + done + # alpm hooks for h in openrc-{install,remove}.hook;do install -Dm644 ${srcdir}/$h ${pkgdir}/usr/share/libalpm/hooks/$h |