Frantisek Sumsal
3f4ffebf33
Makefile: fix RPM build
...
`make rpm` usually chose `/tmp` as the `$rpmbuild` dir, which breaks the
dracut build, since it needs to execute `./configure`, but `/tmp` is
mounted with `-o noexec`, leading to:
```
/var/tmp/rpm-tmp.SwEhJO: line 46: ./configure: Permission denied
error: Bad exit status from /var/tmp/rpm-tmp.SwEhJO (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.SwEhJO (%build)
```
Switching to `/var/tmp` helps in this case.
2020-02-28 16:31:43 +01:00
Daniel Molkentin
50057af19c
Documentation: dynamically set current version
...
Fixes #369
2019-11-12 13:24:41 +01:00
Doan Tran Cong Danh
62f27ee6f1
configure: find cflags and libs for fts on musl
...
Signed-off-by: Doan Tran Cong Danh <congdanhqx@gmail.com>
2019-11-10 01:47:30 +01:00
Harald Hoyer
b355c7a532
Makefile: fix VERSION
2019-07-22 14:36:23 +02:00
Jonas Witschel
12f023ab03
Replace $(arch) by $(uname -m)
2019-07-19 16:25:03 +02:00
Harald Hoyer
0eef73ea43
Makefile: add srpm target
2018-10-24 15:14:03 +02:00
Harald Hoyer
0ae5848245
travis: git pull more depth
2018-08-16 10:46:57 +02:00
Harald Hoyer
51d0a54555
travis: use own logtee.c to reduce log output
2018-08-16 10:17:48 +02:00
Tomasz Paweł Gajc
f59548aeab
fix build with KMOD
2017-04-24 21:37:56 +02:00
pallotron
15d103f911
better fix from @haraldh
2017-03-31 04:43:08 -07:00
pallotron
a99bbe8fa8
remove $$arch() from rpm target in Makefile
2017-03-30 05:53:36 -07:00
Harald Hoyer
6ee83a0bd1
Makefile: fixed DESTDIR in rpm target
2016-11-07 17:52:09 +01:00
Harald Hoyer
5d274f9365
Makefile: create rpms in DESTDIR for target rpm
2016-11-07 13:14:49 +01:00
Harald Hoyer
607fec3e79
Use pkg-config for libkmod CFLAGS and LIBS
2016-04-13 11:13:32 +02:00
Harald Hoyer
794b2d2c75
Use dracut-install to install kernel modules
...
dracut-install can now install kernel modules and their corresponding
firmware files.
2016-04-11 16:32:10 +02:00
Harald Hoyer
2249e7312e
Makefile: add efi target
...
make an UEFI bootable image
2015-11-25 14:21:33 +01:00
Harald Hoyer
3e1c531b4e
Makefile: remove output file before creating it
2015-11-11 12:33:07 +01:00
Harald Hoyer
8019e0eef3
Makefile: fix VERSION and GITVERSION
2015-11-11 11:48:32 +01:00
Mike Gilbert
24f32511fc
syncheck: Look for 'echo -n' usage in modules
2015-07-14 22:24:27 -04:00
Harald Hoyer
777f2db037
splitup dracut-init.sh from dracut-functions.sh
...
other tools want to source dracut-functions.sh without any mkdir side
effects.
2015-07-02 16:04:05 +02:00
Harald Hoyer
471439f564
add dracut.pc pkg-config file
2015-05-13 11:47:23 +02:00
Harald Hoyer
6d58fa27a4
change "while read x" to cope with EOF without newline
...
while read x || [ -n "$x" ]
should do the trick
2015-04-28 11:39:15 +02:00
Harald Hoyer
be82884d35
Makefile: turn off hostonly excplicitely for testimage target
2015-04-23 16:11:26 +02:00
Harald Hoyer
28eae10b70
Split the systemd dracut module up
...
Basic systemd functionality is in 00systemd now.
Switching root and the initrd.target is in 00systemd-initrd.
Dracut additions to the systemd initrd are in 98dracut-systemd.
2015-03-19 10:07:37 +01:00
Harald Hoyer
1dc360790d
Makefile: add -Wformat to CFLAGS
...
-Werror=format-security seems to be ignored without -Wformat
Thanks @ Christoph Brill
2015-01-08 14:56:07 +01:00
Harald Hoyer
246d285561
Makefile: removed dangling space
2014-10-24 09:37:19 +02:00
Harald Hoyer
e81836f328
Makefile: add more warnings to CFLAGS
2014-08-29 13:25:54 +02:00
Harald Hoyer
4f03054e54
dracut-shutdown now executes the unpacking on ExecStop
...
To ensure that unpacking happens before any boot.automount is stopped,
let dracut-shutdown start as a sysinit.target service and unpack on
ExecStop.
2014-08-21 18:45:52 +02:00
Harald Hoyer
99128f2b64
Makefile:rpm: wget the lgpl license for Source1
2014-08-15 14:03:39 +02:00
Harald Hoyer
899f5962ac
Makefile: add debugtestimage and debughostimage targets
2014-06-25 11:43:44 +02:00
Harald Hoyer
855a549660
Makefile: make dracut.html.sign depend on dracut.html
2014-01-28 15:07:21 +01:00
Harald Hoyer
9ea68421f6
add skipcpio utility
...
skipcpio skips a cpio archive at the beginning of a file.
It is used for skipping an early cpio archive for lsinitrd.
2014-01-24 15:27:51 +01:00
Harald Hoyer
5db9c5c1d9
change dracut tarball compression to xz
2014-01-07 12:21:39 +01:00
Harald Hoyer
2f461da2a0
install: install all PATH binaries found
...
This should fix the issues with symlinks in /bin pointing to /usr/bin on
some distributions.
2013-12-19 17:00:18 +01:00
Hannes Reinecke
463e13fe81
mkinitrd-suse.8.asc: Add manpage for SUSE compat mkinitrd
...
Signed-off-by: Hannes Reinecke <hare@suse.de>
2013-12-05 15:13:29 +01:00
Harald Hoyer
b6c8976811
Doc: cleanup, extend and split and reuse
2013-10-08 15:13:12 +02:00
Harald Hoyer
d97d130da9
Makefile: create hostonly test image without debug
2013-09-11 09:57:25 +02:00
Harald Hoyer
bae44febb5
add dracut.css for dracut.html
2013-08-21 13:15:08 +02:00
Harald Hoyer
919a7c4d6e
Makefile: do syncheck before creating the archive or rpm
2013-08-14 15:04:05 +02:00
Harald Hoyer
32bd2fbb4c
use "rm --" to guard against filenames beginning with "-"
2013-06-28 10:31:18 +02:00
Harald Hoyer
85b458d90d
Makefile: source dracut-version.sh and correct dist tarball
2013-06-13 12:55:26 +02:00
Harald Hoyer
268ae2841b
Makefile: pipe git describe errors to /dev/null
2013-06-13 12:55:26 +02:00
Harald Hoyer
638cad7c97
add dracut-shutdown.service.8.asc manpage
2013-06-13 12:55:26 +02:00
Harald Hoyer
0fbb79d54f
move dracut-shutdown.service to modules.d/98systemd
2013-06-13 11:42:26 +02:00
Harald Hoyer
36c34f4e71
Don't use do syncheck for target all and refine syncheck
...
instead of "dash -n" we now use "bash --posix -n"
we also check for "[[ " in posix shell files
2013-06-13 11:19:26 +02:00
Harald Hoyer
373efa4427
systemd: make unit files symlinks
2013-06-13 11:08:03 +02:00
Harald Hoyer
41b0e41a09
Makefile: report syntax check files for V=1
2013-06-06 11:31:07 +02:00
Harald Hoyer
fd28794bbc
TEST-99-RPM: generate rpms and exclude /boot loader entries
2013-05-31 10:00:07 +02:00
Harald Hoyer
9268366cad
Makefile: remove dracut-version.sh on clean
2013-04-16 13:41:19 +02:00
Harald Hoyer
7dbca9be86
lsinitrd: add bash completion
2013-04-16 11:32:31 +02:00