dmatetelki
d3ae804ac8
EGIT_REPO_URI+denes branch instead of compressed archive as source.
10 years ago
Denes Matetelki
f2fdbc1595
fixing typo
10 years ago
Denes Matetelki
b934f616c9
Adding back selinux to IUSE flags.
10 years ago
Denes Matetelki
6f0ab4f086
Initial ebuild version with dependencies to staticgpg and zfs.
10 years ago
Denes Matetelki
0bd3587494
LUKS uses remote header, which is currently hard-coded as /header.img
10 years ago
Denes Matetelki
80d3241329
Including and using sakaki's staticgpgp instead of gnugpg.
10 years ago
Denes Matetelki
fe8a1a3933
Fixing LUKS - volumes order.
10 years ago
Fabio Erculiani
386a0ad5ab
00-livecd.sh: complete overlayfs support
10 years ago
Fabio Erculiani
d18ac2c7c5
modules: include overlay fs module in modules_load
10 years ago
Fabio Erculiani
52384c56e4
00-livecd.sh: add support for overlay fs.
10 years ago
Fabio Erculiani
8fb4e0dece
Load xhci-plat-hcd and xhci-pci if they exist.
...
This fixes USB boot on 3.18+ kernels.
10 years ago
Fabio Erculiani
9acadd8a8a
Merge pull request #22 from dlan17/master
...
00-splash.sh: enter shell while fail boot, bug #523512
10 years ago
Yixun Lan
f3cff8d9fb
00-splash.sh: enter shell while fail boot, bug #523512
10 years ago
Fabio Erculiani
87dbd9daeb
gen_initramfs: add more thin-provisioning-tools inside initramfs
...
See https://github.com/Sabayon/genkernel-next/issues/21
10 years ago
Fabio Erculiani
e2a16bcf3e
Merge pull request #20 from maxmati/master
...
Add realpath to busybox.
11 years ago
Mateusz "Maxmati"
8bffb024c1
Add realpath to busybox.
...
This may fix gentoo bug #513204
11 years ago
Fabio Erculiani
f583d544ef
Merge pull request #19 from sakaki-/master
...
Fixed case where a LUKS root is protected by a GPG-encrypted keyfile
11 years ago
sakaki
0ab05d72e0
Fixed case where a LUKS root is protected by a GPG-encrypted keyfile
...
and plymouth is in use. Previously, this would use plymouth's
ask-for-password action, passing it a --command argument that
included a pipeline (line 206 in previous version of 00-crypt.sh).
As plymouth does not shell-interpret its command however, this fails.
In this version, we create a temporary script file with the necessary
pipeline command in it, and pass this temporary script to plymouth instead.
The temporary script is deleted after use.
(In theory, it should be possible to construct a "/bin/sh -c 'cmd'"-style
invocation for the --command, thereby avoiding this, but I have had no
luck with this approach, due to plymouth's argument parser.)
11 years ago
Fabio Erculiani
95a621d73a
00-keymaps.sh: fix keymap boot args detection and setup, respect docs
11 years ago
Fabio Erculiani
6614a01b1d
linuxrc: add support for dracut/anaconda iscsi cmdline parameters
11 years ago
Fabio Erculiani
86b26cb061
linuxrc: add partial support for rd.{md,dm}.uuid=* and rd.lvm.lv=* dracut style argument
11 years ago
Fabio Erculiani
77635b44e8
linuxrc: add partial support for rd.lvm.lv=* dracut style argument
11 years ago
Fabio Erculiani
b66f62c7b2
linuxrc: simplify vconsole.keymap= detection code
11 years ago
Fabio Erculiani
e1f7282d3e
linuxrc: add support for systemd's vconsole.keymap=
11 years ago
Fabio Erculiani
f5f20a009e
linuxrc: rename ${keymap} to ${USE_KEYMAP}
11 years ago
Fabio Erculiani
ef6ec566ef
00-keymaps.sh: simplify keymap handling code
11 years ago
Fabio Erculiani
a96510560b
linuxrc: avoid unnecessary dokeymap boot parameter to activate keymap config
11 years ago
Fabio Erculiani
e87343356f
genkernel: do not use /var/cache for storing source tarballs
...
/var/cache is expected to be created at runtime if needed
11 years ago
Fabio Erculiani
d3a053874e
gen_initramfs.sh: add network configuration settings introduced by systemd-210
11 years ago
Fabio Erculiani
f38dedf589
gen_initramfs.sh, initrd.defaults: systemd-210 moved udevd to another path
11 years ago
Fabio Erculiani
fd8ba0d9db
00-rootdev.sh: use realpath instead of readlink to resolve symlinks
...
This may fix Gentoo bug #501226
11 years ago
Fabio Erculiani
c90b34046e
gen_initramfs: fix append_drm() modules lookup code
...
After generating the module dependencies for drm drivers, we
should pick up all the modules by looking at the whole kernel
modules directory path and not just at drivers/drm.
This has been reported in GitHub issue #17 for genkernel-next.
11 years ago
Fabio Erculiani
7085ad2b32
00-devmgr.sh: do not set the hotplug handler, Gentoo bug #493874
...
systemd will not work, and setting it to /sbin/mdev doesn't work either
since 99% of the non-systemd systems use udev/eudev.
If you really want to set the hotplug handler, do it in the kernel
config.
11 years ago
Fabio Erculiani
53dbd52ba4
kernel: set CONFIG_UEVENT_HELPER_PATH="" as per Gentoo bug #493874
11 years ago
Fabio Erculiani
391ba1c479
Merge pull request #14 from chutzimir/bin-kernel
...
Make it possible to run genkernel as an unprivileged user - useful to build a kernel from an ebuild
11 years ago
Georgi Georgiev
517929fe87
Only skip the "ldconfig -r" step, which needs root privileges
...
Since we now have ldconfig which can run during the boot, make sure we
unconditionally copy all the other configuration files (ld.so.conf and
relatives), while only skipping the "cache" step.
11 years ago
Georgi Georgiev
00a83a5f57
Also detect "fakeroot"
11 years ago
Georgi Georgiev
b60ba28d19
ldconfig -r requires "root" (chroot) privileges
...
This would not do the right thing when running as a non-root user but
anyone running this as non-root should be aware that things could break.
11 years ago
Georgi Georgiev
65b63acb91
Trying to build a binary package, so leave the system alone
...
Trying to build everything (and package it in a pbin) as a non-root user, so
leave the filesystem alone.
11 years ago
Georgi Georgiev
037070b547
Fix the kerncache parsing of CONFIG_LOCALVERSION
...
A couple of problems here.
1. CONFIG_LOCALVERSION was never added the kerncache.config.
2. Parsing of CONFIG_LOCALVERSION expects kernel .config style syntax.
For this point I opted for the extra space, to make the
kerncache.config syntax consistent. There is no good reason to even
keep the CONFIG_LOCALVERSION name.
11 years ago
Georgi Georgiev
a7d7711cb5
Fix a typo LCV -> LOV
11 years ago
Georgi Georgiev
a8de812595
NO_KERNEL_SOURCES left behind
...
This looks like a leftover from a141d71531
.
All occurrences of NO_KERNEL_SOURCES should have been replaced by
the negated KERNEL_SOURCES.
Though probably isTrue should be used for all boolean options, to avoid
confusion when setting them in the config file (some of them should be
set to 0 or 1, while others support yes/no/0/1/true/false).
11 years ago
Georgi Georgiev
90a394350d
LVM has read-only files that would prompt for deletion
...
This only happens when testing as a non-root user, but even so, it
doesn't hurt to make this less annoying.
11 years ago
Georgi Georgiev
2f2fdcb58f
tar refuses to extract into a non-existent directory
...
This helps if trying to use a new directory as the temporary directory.
11 years ago
Fabio Erculiani
99d1ae9d8a
gen_initramfs.sh: use realpath to ensure that udevdir files are grepped correctly
...
See Gentoo bug #495194
11 years ago
Fabio Erculiani
49c4af162b
linuxrc: create /etc/ld.so.cache if it's not in the initramfs
11 years ago
Fabio Erculiani
768333ed63
gen_initramfs: add /sbin/ldconfig to the initramfs
...
ldconfig will allow us to create ld.so.cache at runtime, if needed
11 years ago
Fabio Erculiani
65d6d36332
00-fsdev.sh: drop any reference to mdstart, no longer used nowadays
...
See Gentoo bug #494804
11 years ago
Fabio Erculiani
9097998cad
00-crypt.sh: only warn about missing cryptsetup if CRYPT_ROOTS or CRYPT_SWAPS is set
...
This fixes Gentoo bug #493818
11 years ago
Fabio Erculiani
8ae92b7601
linuxrc: fix /dev/shm mount, move it after /dev mount, add strictatime support to busybox
...
The busybox patch has been backported 1.21.1.
11 years ago