mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-18 20:47:55 +00:00
Use a pre-built /dev/console initrd image.
This fixes issue #111 which led to problems if /dev/console on a container had a virtualized device that didn't match the device major/minor that the Heads kernel was expecting.
This commit is contained in:
parent
453317921a
commit
0843d30097
6
Makefile
6
Makefile
@ -239,13 +239,9 @@ initrd_lib_install: $(initrd_bins) $(initrd_libs)
|
||||
#
|
||||
initrd.cpio: $(initrd_bins) $(initrd_libs) initrd_lib_install
|
||||
cd ./initrd ; \
|
||||
( \
|
||||
echo "/dev" ; \
|
||||
echo "/dev/console"; \
|
||||
find . \
|
||||
) \
|
||||
| cpio --quiet -H newc -o \
|
||||
| ../cpio-clean \
|
||||
| ../cpio-clean ../dev.cpio - \
|
||||
> "../$@.tmp"
|
||||
if ! cmp --quiet "$@" "$@.tmp"; then \
|
||||
mv "$@.tmp" "$@"; \
|
||||
|
Loading…
Reference in New Issue
Block a user