View previous topic :: View next topic |
Author |
Message |
Chaser Andrey n00b
Joined: 07 Nov 2010 Posts: 16
|
Posted: Sun Jul 03, 2016 6:55 pm Post subject: ☑ dev-util/catalyst - how to define ${clst_boot_kernel} |
|
|
Catalyst use variable ${clst_boot_kernel}. I don't understand how I can define it.
I build minimal-install-cd.iso with Catalyst. I want to replace openrc with systemd, and I need push additional arguments in cmdline: init=/usr/lib/systemd/systemd
I think, I can do it with ${clst_boot_kernel}, can't I do?
Last edited by Chaser Andrey on Mon Jul 04, 2016 4:52 pm; edited 1 time in total |
|
Back to top |
|
|
Chaser Andrey n00b
Joined: 07 Nov 2010 Posts: 16
|
Posted: Mon Jul 04, 2016 4:50 pm Post subject: |
|
|
Okay, I got answer in IRC:
Quote: |
[19:12] <dol-sen> Add "boot/kernel: foo" to you spec file and optionally "boot/kernel/gentoo/packages: cat/pkg" for any firmware and user space tools for networking, etc.
[19:15] <dol-sen> https://gitweb.gentoo.org/proj/releng.git/tree/releases/weekly/specs/amd64/installcd-stage2-minimal.spec
[19:16] <dol-sen> use that as an example
[19:16] <dol-sen> clst_boot_kernel <== clst_ prefix is added to all variables exprted from the python side to the bash build environment
[19:17] <dol-sen> and since -,/ are not allowed in variable names in bash, they are substituted to _
[19:19] <dol-sen> mostly at least, I think there are a few clst_* variables actually created in the bash side
|
|
|
Back to top |
|
|
|
|
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
|
|