Здравствуйте. Нашел вот такую вещь: https://github.com/zhovner/OneFileLinux
Все прекрасно и нравится, однако, хотелось бы обновить версии утилит и добавить несколько новых, но при попытке что-либо сделать получаю ошибки.
Мой дистрибутив: Archlinux, если это важно.
user@localhost ~/OneFileLinux> sudo ./build.sh
____________
/|------------|
/_| .---. |
| / \ |
| \.6-6./ |
| /`\_/`\ |
| // _ \\ |
| | \ / | |
| /`\_`> <_/`\ |
| \__/'---'\__/ |
|_______________|
OneFileLinux.efi
----------------------------------------------------
Checking root filesystem
ls: cannot access 'alpine-minirootfs/var/cache/apk/': No such file or directory
/dev/ bindings found: alpine-minirootfs/dev/urandom. Unmounting...
Version in banner: v0.3.2
Uncompressed root filesystem size WITHOUT kernel modules: 47M
----------------------------------------------------
Building kernel mobules using 4 threads...
CHK include/config/kernel.release
CHK include/generated/uapi/linux/version.h
CHK include/generated/utsrelease.h
DESCEND objtool
CC /home/claire/OneFileLinux/linux-4.14.22/tools/objtool/str_error_r.o
CC /home/claire/OneFileLinux/linux-4.14.22/tools/objtool/pager.o
../lib/str_error_r.c: In function ‘str_error_r’:
../lib/str_error_r.c:25:3: error: passing argument 1 to restrict-qualified parameter aliases with argument 5 [-Werror=restrict]
snprintf(buf, buflen, "INTERNAL ERROR: strerror_r(%d, %p, %zd)=%d", errnum, buf, buflen, err);
^~~~~~~~
cc1: all warnings being treated as errors
mv: cannot stat '/home/claire/OneFileLinux/linux-4.14.22/tools/objtool/.str_error_r.o.tmp': No such file or directory
make[3]: *** [Build:22: /home/claire/OneFileLinux/linux-4.14.22/tools/objtool/str_error_r.o] Error 1
make[2]: *** [Makefile:46: /home/claire/OneFileLinux/linux-4.14.22/tools/objtool/objtool-in.o] Error 2
make[2]: *** Waiting for unfinished jobs....
pager.c: In function ‘pager_preexec’:
pager.c:36:12: error: passing argument 2 to restrict-qualified parameter aliases with argument 4 [-Werror=restrict]
select(1, &in, NULL, &in, NULL);
^~~ ~~~
cc1: all warnings being treated as errors
mv: cannot stat '/home/claire/OneFileLinux/linux-4.14.22/tools/objtool/.pager.o.tmp': No such file or directory
make[4]: *** [/home/claire/OneFileLinux/linux-4.14.22/tools/build/Makefile.build:96: /home/claire/OneFileLinux/linux-4.14.22/tools/objtool/pager.o] Error 1
make[3]: *** [Makefile:52: /home/claire/OneFileLinux/linux-4.14.22/tools/objtool/libsubcmd-in.o] Error 2
make[2]: *** [Makefile:54: /home/claire/OneFileLinux/linux-4.14.22/tools/objtool/libsubcmd.a] Error 2
make[1]: *** [Makefile:62: objtool] Error 2
make: *** [Makefile:1633: tools/objtool] Error 2
user@localhost ~/OneFileLinux> lsblk