zhovner/OneFileLinux

build.sh failed to create OneFileLinux EFI file

kostur86 opened this issue · 3 comments

./build.sh                                                                                                                                                                                                                                                                       
      ____________                                                                                                                                                                                                                                                               
    /|------------|                                                                                                                                                                                                                                                              
   /_|  .---.     |
  |    /     \    |
  |    \.6-6./    |
  |    /`\_/`\    |
  |   //  _  \\   |
  |  | \     / |  |
  | /`\_`>  <_/`\ |
  | \__/'---'\__/ |
  |_______________|

   OneFileLinux.efi
----------------------------------------------------
Checking root filesystem

Kernel modules folder is not empty: alpine-minirootfs/lib/modules/
Removing modules...

Version in banner: v0.3.2
Uncompressed root filesystem size WITHOUT kernel modules: 57M

----------------------------------------------------
Building kernel mobules using 64 threads...

  CHK     include/config/kernel.release
  CHK     include/generated/uapi/linux/version.h
  DESCEND  objtool
  CHK     scripts/mod/devicetable-offsets.h
  CHK     include/generated/utsrelease.h
  CHK     include/generated/timeconst.h
  CHK     include/generated/bounds.h
  CHK     include/generated/asm-offsets.h
  CALL    scripts/checksyscalls.sh
  Building modules, stage 2.
  MODPOST 1404 modules
----------------------------------------------------
Copying kernel modules in root filesystem

  INSTALL arch/x86/crypto/aes-x86_64.ko
  INSTALL arch/x86/crypto/aesni-intel.ko
  INSTALL arch/x86/crypto/blowfish-x86_64.ko
...
  INSTALL net/xfrm/xfrm_ipcomp.ko
  INSTALL net/xfrm/xfrm_user.ko
  INSTALL virt/lib/irqbypass.ko
  DEPMOD  4.14.22-onefile
Uncompressed root filesystem size WITH kernel modules: 133M

----------------------------------------------------
Copying modules.dep

depmod: FATAL: could not load System.map: No such file or directory

(I skipped multiple INSTALL lines)

Did you try virtual machine from readme? It has configured build environment https://github.com/zhovner/OneFileLinux/blob/master/kali64.vmwarevm.7z.torrent

Just tested build with provided Kali Linux and it is OK.

Be aware, that I have patched vanilla kernel to make macbook 2017 SPI keyboard works. I'm not sure does it works in newer kernels or it still need the patch.

Anyway, if you make something cool, don't forget to commit.