Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[Misc. / systemd removal] Removing systemd from Jessie

Featured Replies

Hi,

 

I want a clean Armbian image for BPi without systemd. I pulled the actual Armbian 5.02, elected jessie and vanilla/next kernel (4.4.2)

and checked SYSTEMD settings:

gerd@development ~/projekte/armbian/lib (git)-[master] % find ./ -type f -exec grep -H SYSTEMD {} \;
./configuration.sh:    SYSTEMD="no" # Enable or disable systemd on Jessie in debootstrap process

but systemd is still active in the created image. Is there a way to get rid off it ?

 

I saw in the blog that systemd is now default for jessie :(

 

 

Regards

 

Gerd

Edited by wildcat_paris
Changed topic title to more neutral and descriptive

./configuration.sh:    SYSTEMD="no" # Enable or disable systemd on Jessie in debootstrap process

This option is obsolete (not supported currently). You should be able to remove systemd from Jessie after installation using this wiki article.

 

FYI, you may loose some Systemd-specific settings (like serial console settings, shutdown by pressing power button).

  • Author

Hi,

 

thanks for all your responses, but removing systemd afterwards isn't an option as I need an image for beginners.

 

Regards

 

Gerd

thanks for all your responses, but removing systemd afterwards isn't an option as I need an image for beginners.

I don't know why systemd affects "image for beginners" use case, but if you don't want systemd, you can either build wheezy/trusty image, or try to implement systemd removal for jessie in customize-image.sh

  • Author

I don't know why systemd affects "image for beginners" use case, but if you don't want systemd, you can either build wheezy/trusty image, or try to implement systemd removal for jessie in customize-image.sh

the removal of systemd is far to complex for beginners - systemd itself simply sucks

I will have a look at the customizing script ....

 

 

Yes, "systemd sucks" is very constructive, mixing PID 1 related functionality with everything else in the article truly shows "professionalism" of a person who wrote that.

I'm sure "beginners" will be happy when any Jessie-related instructions that use "systemctl" command won't work as expected.

 

I don't want to say that I totally agree with different subsystems depending on systemd or with one(or 2-3) package(s) implementing half of base system services, but current stable version of systemd does its job.

 

 

  • Author

Hi,

 

 

 

Yes, "systemd sucks" is very constructive, mixing PID 1 related functionality with everything else in the article truly shows "professionalism" of a person who wrote that.

 

I'm sure "beginners" will be happy when any Jessie-related instructions that use "systemctl" command won't work as expected.

 

I don't want to say that I totally agree with different subsystems depending on systemd or with one(or 2-3) package(s) implementing half of base system services, but current stable version of systemd does its job.

 

I don't want to bore other people with the 495th discussion about systemd. First time I had a look systemd wasn't there in armbian. Now it's standard and I need to look for another distribution.

 

Anyway: keep your good work going ...

 

Regards

 

Gerd

Gerd I'm not sure why you are against systemd. I was pissed about it in the beginning until I learned all init.d scripts work on Debian Jessie with systemd. Then my anger disappeared :)

Gerd I'm not sure why you are against systemd. I was pissed about it in the beginning until I learned all init.d scripts work on Debian Jessie with systemd. Then my anger disappeared :)

The "problem" is not that something doesn't work, it's more a philosophical issue. I'll just leave this here.

following the wiki link offered in this thread, guessing that probably any GRUB/GRUB2/GRUB4DOS section would not apply to U-Boot , boldly ignoring the pam related red warning  without a password less login on uart i edited /boot/boot.cmd

 

setenv bootargs "root=${rootdev} rootwait rootfstype=${rootfstype} ${consoleargs} ........................

by

setenv bootargs "init=/lib/sysvinit/init root=${rootdev} rootwait rootfstype=${rootfstype} ${consoleargs}  ..................

did:

mkimage -C none -A arm -T script -d /boot/boot.cmd /boot/boot.scr

 

 

i hope armbian-config will offer a way to do that more easily. giving the choice is important for aging guy who can't remember systemctl stuff.

I've just managed to build Devuan/Aarch64 for the Odroid C2 using the traditional debootstrap (on an Ubuntu host) way, so I might be able to patch the armbian/build scripts in order to generate a Devuan image.

I kinda followed the advice here on an odroid c1, installed sysvinit* debs, checked that an inittab was present, edited boot.ini to include init=/lib/sysvinit/init as the last of bootargs, checked network.conf to feature the correct network setting, crossed fingers, rebooted, the touchscreen does not work but ssh does. Removed systemd and voila'.

 

If you wonder why, I use systems on the road and I have already experienced all the possible breakages when you alter some conditions, compared to whatever worked at home. I want a system with a fixed boot order, with a good amount of fully tested code. Systemd can't even manage to close the ssh connection before rebooting, nice to have a terminal windows hanging because of that huh?

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.