Harald Hoyer
e72c1310fa
fix(virtfs): shellcheck for modules.d/95virtfs
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
Daniel Molkentin
b6b1bf9202
Consollidate the qemu virtualization detection
...
Eventually, we could add a full virt detection routine.
This would be useful e.g. to determine inclusion of
ucode for hostonly setups.
6 years ago
Norbert Lange
f9c96cf56f
remove superfluous quotes in parameter expansion
...
as this breaks busybox hush shell.
offending functions can be found with
grep -r '${[^}]*"[^}]*}'
6 years ago
Harald Hoyer
3721635b2c
guard ${arrays[@]} with ""
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
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
32bd2fbb4c
use "rm --" to guard against filenames beginning with "-"
12 years ago
Harald Hoyer
d351541ee6
make host_fs_types a hashmap
...
This requires bash >= 4, but hash maps are so much more comfortable
12 years ago
Harald Hoyer
c2117747fd
virtfs: add virtio_pci kernel module
12 years ago
Harald Hoyer
9ff9dde8d7
virtfs: only install by default, if virt environment detected
13 years ago
Harald Hoyer
cf62cc435f
virtfs/mount-virtfs.sh: don't exit != 0
13 years ago
Lennert Buytenhek
a7c9cbe1a2
virtfs root filesystem support
...
Qemu/KVM provides virtfs, a paravirtualised filesystem that is
implemented by running the Plan 9 folder sharing protocol over
virtio.
Make booting with root=virtfs:foobar use the virtfs filesystem
with mount tag 'foobar' as root filesystem, to allow booting
virtual machines off virtfs.
Note that this only handles 9p over virtio (i.e. virtfs), and
doesn't attempt to handle mounting 9p filesystems over TCP/IP,
for example.
Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org>
13 years ago