Harald Hoyer
|
09356085b6
|
ci: enable shellcheck for everything
|
4 years ago |
Harald Hoyer
|
f450ebfdf2
|
fix(convertfs): require bash
|
4 years ago |
Harald Hoyer
|
ec12017055
|
fix(convertfs): shellcheck for modules.d/30convertfs
|
4 years ago |
Harald Hoyer
|
75d758e8f1
|
style: shfmt -s reformat
reproducible with:
```
$ shfmt_version=3.0.1
$ wget "https://github.com/mvdan/sh/releases/download/v${shfmt_version}/shfmt_v${shfmt_version}_linux_amd64" -O shfmt
$ chmod u+x shfmt
$ ./shfmt -w -s .
```
|
4 years ago |
Harald Hoyer
|
9a52c3fdb0
|
style: shfmt reformat
reproducible with:
```
$ shfmt_version=3.0.1
$ wget "https://github.com/mvdan/sh/releases/download/v${shfmt_version}/shfmt_v${shfmt_version}_linux_amd64" -O shfmt
$ chmod u+x shfmt
$ ./shfmt -w .
```
|
4 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
|
967cc19ab1
|
remove all vim and emacs code format comments
|
11 years ago |
Harald Hoyer
|
8bcfd683bd
|
*/module-setup.sh: add comments for dracut called functions
|
12 years ago |
Harald Hoyer
|
af11946054
|
dracut-functions.sh: inst_multiple == dracut_install
|
12 years ago |
Harald Hoyer
|
32bd2fbb4c
|
use "rm --" to guard against filenames beginning with "-"
|
12 years ago |
Harald Hoyer
|
4211605000
|
fallback to old ismounted, if findmnt is not installed
|
13 years ago |
Harald Hoyer
|
53fe81e752
|
modules.d/*/module-setup.sh: combine and specify type for installs
To speedup image creation, combine dracut_install calls and specify the exact type.
E.g. inst_script instead of the generic inst.
|
13 years ago |
Harald Hoyer
|
95268ffed3
|
30convertfs/convertfs.sh: correct check for /usr/bin
|
13 years ago |
Harald Hoyer
|
b6f0dcbda1
|
30convertfs/convertfs.sh: use hardlinks for inter-/usr cp
|
13 years ago |
Harald Hoyer
|
1701d7adc8
|
30convertfs/convertfs.sh: add check for /usr/bin
Check if /usr is mounted, by checking for /usr/bin
|
13 years ago |
Harald Hoyer
|
ce18bc4e97
|
30convertfs/convertfs.sh: call setfiles w/o path & check for existence
|
13 years ago |
Harald Hoyer
|
9d5e3ed740
|
30convertfs/convertfs.sh: move /var/run and /var/lock fix to the start
Even, if the system is already converted, we want to fix /var/run and
/var/lock.
|
13 years ago |
Harald Hoyer
|
61ad49e7d3
|
30convertfs/convertfs.sh: fix check for /var/run and /var/lock
|
13 years ago |
Harald Hoyer
|
2cf328ad0a
|
renamed usrmove to convertfs
|
13 years ago |