summaryrefslogtreecommitdiff
path: root/src/kernel-install
Commit message (Collapse)AuthorAge
* kernel-install/90-loaderentry.install: fixed cmdline parsingHarald Hoyer2014-08-15
| | | | | | If /etc/kernel/cmdline is missing or empty, we read /proc/cmdline and want to filter out the initrd line. Due to a bug, the whole contents was filtered out.
* build-sys: add missing Makefile linkLennart Poettering2014-06-16
|
* os-release: define /usr/lib/os-release as fallback for /etc/os-releaseLennart Poettering2014-06-13
| | | | | | | | | | | | | | | | The file should have been in /usr/lib/ in the first place, since it describes the OS container in /usr (and not the configuration in /etc), hence, let's support os-release files in /usr/lib as fallback if no version in /etc exists, following the usual override logic. A prior commit already enabled tmpfiles to create /etc/os-release as a symlink to /usr/lib/os-release should it be missing, thus providing nice compatibility with applications only checking in /etc. While it's probably a good idea if all apps check both locations via a fallback logic, it is only necessary in the early boot process, as long as the /etc/os-release symlink has not been restored, in case we boot with an empty /etc.
* kernel-install: fix help outputSébastien Luttringer2013-12-09
| | | | | | Kernel install doesn't need the second argument on his command line when removing. This is correctly documented in the man page.
* kernel-install: add -h/--helpZbigniew Jędrzejewski-Szmek2013-12-08
|
* kernel-install: add compat with 'installkernel'Tom Gundersen2013-10-01
| | | | | | | | | | | If 'kernel-install' is called as 'installkernel' it will be compatible with the syntax used by the kernel's build system. This means it can be called by doing 'make install' in a kernel build directory, if the correct symlink has been installed (which we don't do by default yet). [Edit harald@redhat.com: removed basename and use shift]
* kernel-install: avoid using 'cp --preserve'Tom Gundersen2013-09-27
| | | | Force 0644 and root:root instead, to avoid problems with fat filesystems.
* kernel-install/90-loaderentry.install: do not fail for missing initrdHarald Hoyer2013-07-11
|
* kernel-install: filter out "initrd=" from /proc/cmdlineHarald Hoyer2013-06-20
|
* kernel-install: add default install scriptsHarald Hoyer2013-05-06
| | | | | | | | | | | | | Do the depmod in the kernel-install hooks, so hooks can produce/install kernel modules and be part of the depmod. Also move the basic boot loader entry creation and removal to a plugin script. If PRETTY_NAME is not defined in /etc/os-release, fallback to PRETTY_NAME="Linux $KERNEL_VERSION". Add documentation for everything in the man page.
* kernel-install: Clean upMantas Mikulėnas2013-04-30
| | | | | | | | | - Consistent use of $VAR vs ${VAR} - Consistent use of && vs 'if' - Add error checking to some places - Consistent error messages ("Can't" vs "Cannot", etc.) - Function declarations at the top - Miscellaneous adjustments
* kernel-install: don't make unused parameter mandatoryMarc-Antoine Perennou2013-04-08
| | | | | | We only use the image name in the case we're adding a kernel Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
* kernel-install: rename the loader entry filenameHarald Hoyer2013-02-26
| | | | | | | | The wildcard matching the default loader entry should always be able to point to the same machine. So instead of sorting by <distribution>-<kernel-version>-<machine-id> we better sort by <machine-id>-<kernel-version>.
* kernel-install: create the loader entries with absolute paths relative to /bootHarald Hoyer2013-02-26
|
* kernel-install: replace URLs with man pages in the error messagesHarald Hoyer2013-02-26
|
* kernel-install: fixed paths in boot loader entryHarald Hoyer2013-02-26
| | | | For the loader entry a relative path has to be used.
* kernel-install: remove LANG=Kay Sievers2013-02-25
|
* kernel-install: add kernel-install toolHarald Hoyer2013-02-25