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.
5 years ago
Daniel Molkentin
50057af19c
Documentation: dynamically set current version
...
Fixes #369
5 years ago
Doan Tran Cong Danh
62f27ee6f1
configure: find cflags and libs for fts on musl
...
Signed-off-by: Doan Tran Cong Danh <congdanhqx@gmail.com>
5 years ago
Harald Hoyer
b355c7a532
Makefile: fix VERSION
6 years ago
Jonas Witschel
12f023ab03
Replace $(arch) by $(uname -m)
6 years ago
Harald Hoyer
0eef73ea43
Makefile: add srpm target
6 years ago
Harald Hoyer
0ae5848245
travis: git pull more depth
7 years ago
Harald Hoyer
51d0a54555
travis: use own logtee.c to reduce log output
7 years ago
Tomasz Paweł Gajc
f59548aeab
fix build with KMOD
8 years ago
pallotron
15d103f911
better fix from @haraldh
8 years ago
pallotron
a99bbe8fa8
remove $$arch() from rpm target in Makefile
8 years ago
Harald Hoyer
6ee83a0bd1
Makefile: fixed DESTDIR in rpm target
8 years ago
Harald Hoyer
5d274f9365
Makefile: create rpms in DESTDIR for target rpm
8 years ago
Harald Hoyer
607fec3e79
Use pkg-config for libkmod CFLAGS and LIBS
9 years ago
Harald Hoyer
794b2d2c75
Use dracut-install to install kernel modules
...
dracut-install can now install kernel modules and their corresponding
firmware files.
9 years ago
Harald Hoyer
2249e7312e
Makefile: add efi target
...
make an UEFI bootable image
9 years ago
Harald Hoyer
3e1c531b4e
Makefile: remove output file before creating it
9 years ago
Harald Hoyer
8019e0eef3
Makefile: fix VERSION and GITVERSION
9 years ago
Mike Gilbert
24f32511fc
syncheck: Look for 'echo -n' usage in modules
10 years ago
Harald Hoyer
777f2db037
splitup dracut-init.sh from dracut-functions.sh
...
other tools want to source dracut-functions.sh without any mkdir side
effects.
10 years ago
Harald Hoyer
471439f564
add dracut.pc pkg-config file
10 years ago
Harald Hoyer
6d58fa27a4
change "while read x" to cope with EOF without newline
...
while read x || [ -n "$x" ]
should do the trick
10 years ago
Harald Hoyer
be82884d35
Makefile: turn off hostonly excplicitely for testimage target
10 years ago
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.
10 years ago
Harald Hoyer
1dc360790d
Makefile: add -Wformat to CFLAGS
...
-Werror=format-security seems to be ignored without -Wformat
Thanks @ Christoph Brill
10 years ago
Harald Hoyer
246d285561
Makefile: removed dangling space
10 years ago
Harald Hoyer
e81836f328
Makefile: add more warnings to CFLAGS
11 years ago
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.
11 years ago
Harald Hoyer
99128f2b64
Makefile:rpm: wget the lgpl license for Source1
11 years ago
Harald Hoyer
899f5962ac
Makefile: add debugtestimage and debughostimage targets
11 years ago
Harald Hoyer
855a549660
Makefile: make dracut.html.sign depend on dracut.html
11 years ago
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.
11 years ago
Harald Hoyer
5db9c5c1d9
change dracut tarball compression to xz
11 years ago
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.
11 years ago
Hannes Reinecke
463e13fe81
mkinitrd-suse.8.asc: Add manpage for SUSE compat mkinitrd
...
Signed-off-by: Hannes Reinecke <hare@suse.de>
11 years ago
Harald Hoyer
b6c8976811
Doc: cleanup, extend and split and reuse
12 years ago
Harald Hoyer
d97d130da9
Makefile: create hostonly test image without debug
12 years ago
Harald Hoyer
bae44febb5
add dracut.css for dracut.html
12 years ago
Harald Hoyer
919a7c4d6e
Makefile: do syncheck before creating the archive or rpm
12 years ago
Harald Hoyer
32bd2fbb4c
use "rm --" to guard against filenames beginning with "-"
12 years ago
Harald Hoyer
85b458d90d
Makefile: source dracut-version.sh and correct dist tarball
12 years ago
Harald Hoyer
268ae2841b
Makefile: pipe git describe errors to /dev/null
12 years ago
Harald Hoyer
638cad7c97
add dracut-shutdown.service.8.asc manpage
12 years ago
Harald Hoyer
0fbb79d54f
move dracut-shutdown.service to modules.d/98systemd
12 years ago
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
12 years ago
Harald Hoyer
373efa4427
systemd: make unit files symlinks
12 years ago
Harald Hoyer
41b0e41a09
Makefile: report syntax check files for V=1
12 years ago
Harald Hoyer
fd28794bbc
TEST-99-RPM: generate rpms and exclude /boot loader entries
12 years ago
Harald Hoyer
9268366cad
Makefile: remove dracut-version.sh on clean
12 years ago
Harald Hoyer
7dbca9be86
lsinitrd: add bash completion
12 years ago