Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] profile for no-multilib + systemd
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
potuz
Guru
Guru


Joined: 30 Jan 2010
Posts: 378

PostPosted: Sun Feb 08, 2015 7:07 pm    Post subject: [SOLVED] profile for no-multilib + systemd Reply with quote

So I am installing a fresh laptop and want to install a system that boots with systemd and uses no multilib. The profile /default/linux/amd64/13.0/no-multilib will pull udev and therefore cause trouble for systemd... Is there a compatible set of USE flags?

Last edited by potuz on Sun Feb 08, 2015 7:19 pm; edited 1 time in total
Back to top
View user's profile Send private message
xaviermiller
Administrator
Administrator


Joined: 23 Jul 2004
Posts: 7972
Location: ~Brussels - Belgique

PostPosted: Sun Feb 08, 2015 7:11 pm    Post subject: Reply with quote

Add USE="systemd" in your make.conf file, and emerge systemd. It will replace udev.
_________________
Kind regards,
Xavier Miller
Back to top
View user's profile Send private message
potuz
Guru
Guru


Joined: 30 Jan 2010
Posts: 378

PostPosted: Sun Feb 08, 2015 7:13 pm    Post subject: Reply with quote

Thanks, I am already at the stage of trying to install systemd, but I had to emerge --unmerge udev which caused the red warnings of removing a package in the profile. I suppose that systemd will satisfy virtual/dev-manager or similar and prevent the profile from pulling udev again?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43221
Location: 56N 3W

PostPosted: Sun Feb 08, 2015 7:14 pm    Post subject: Reply with quote

potuz,

Correct. You will get udev as a piece of systemd.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
potuz
Guru
Guru


Joined: 30 Jan 2010
Posts: 378

PostPosted: Sun Feb 08, 2015 7:19 pm    Post subject: Reply with quote

NeddySeagoon wrote:
potuz,

Correct. You will get udev as a piece of systemd.

Thanks! now that I got you guys here, after this compile goes through I need to boot with init="/usr/lib/systemd/systemd". In my installation I am booting without a bootloader just using the EFI stub. Do you know if I can add another entry with efibootmgr with the corresponding init kernel parameter, or should I compile another kernel with the built in parameter and copy it to the efi partition? I guess I'll find out soon when this finishes compiling systemd :)
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7553
Location: Goose Creek SC

PostPosted: Tue Feb 10, 2015 3:31 am    Post subject: Reply with quote

Build the command line into the kernel including init=/usr/lib64/systemd/systemd as part of it. If you decide to use an initramfs build it into the kernel also.

Mine as example:

[*] Gentoo Linux support
[*] Linux dynamic and persistent device naming (userspace devfs) support
Support for init systems, system and service managers --->
[*] OpenRC, runit and other script based systems and managers
[*] systemd


Processor type and features --->
[*] Built-in kernel command line
(root=PARTUUID=89bc9633-fbc9-4a90-8a67-e058cb655d95 ro init=/usr/lib64/systemd/systemd)
[*] Built-in command line overrides boot loader arguments

efi_stub kernel is a bootloader
_________________
Defund the FCC.
Back to top
View user's profile Send private message
potuz
Guru
Guru


Joined: 30 Jan 2010
Posts: 378

PostPosted: Tue Feb 10, 2015 9:58 am    Post subject: Reply with quote

DONAHUE wrote:
Build the command line into the kernel including init=/usr/lib64/systemd/systemd as part of it. If you decide to use an initramfs build it into the kernel also.

Mine as example:

[*] Gentoo Linux support
[*] Linux dynamic and persistent device naming (userspace devfs) support
Support for init systems, system and service managers --->
[*] OpenRC, runit and other script based systems and managers
[*] systemd


Processor type and features --->
[*] Built-in kernel command line
(root=PARTUUID=89bc9633-fbc9-4a90-8a67-e058cb655d95 ro init=/usr/lib64/systemd/systemd)
[*] Built-in command line overrides boot loader arguments

efi_stub kernel is a bootloader

I ended up doing that and keeping both kernels in the EFI partition cause it was big enough but mostly for lazyness, I never tried to see if efibootmgr was capable of sending that boot parameter as it is with an initrd="..." parameter.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum