1
0
Fork 0

Replace systemd with sysvinit

This commit is contained in:
Braiden Vasco 2018-04-03 15:54:18 +00:00
parent f0c9ae2b24
commit 45cd33fd58
No known key found for this signature in database
GPG key ID: 2F87CADA171E2424
2 changed files with 11 additions and 3 deletions

View file

@ -86,7 +86,6 @@ TODO
* [ ] Tor pluggable transports
* [ ] Use Debian armhf instead of Raspbian
* [ ] Upgrade from Debian 8 Jessie to Debian 9 Stretch
* [ ] Use sysvinit instead of systemd
* [ ] Remove dbus
* [x] Use sysvinit instead of systemd
* [ ] Use custom kernel
* [ ] Build own distribution from scratch

View file

@ -71,7 +71,7 @@ capsh --drop=cap_setfcap -- -c "$BOOTSTRAP_CMD \
--components=main,contrib,non-free \
--arch armhf \
--keyring $KEYS_DIR/raspbian-archive-keyring.gpg \
--include=ca-certificates \
--force-check-gpg \
jessie \
$ROOTFS_DIR \
http://mirrordirector.raspbian.org/raspbian/" || rmdir "$ROOTFS_DIR/debootstrap/"
@ -133,6 +133,15 @@ apt-get dist-upgrade -y
apt-get autoremove -y --purge
EOF
##
# Replace systemd with sysvinit.
#
on_chroot << EOF
apt-get install -y sysvinit-core
apt-get purge -y systemd systemd-sysv
apt-get autoremove -u --purge
EOF
##
# Install kernel and bootloader.
#