Jump to content

Andrew Routley

Members
  • Posts

    2
  • Joined

  • Last visited

  1. Thanks @robertoj as a matter of fact this is my own custom initial ramdisk. I've been running it as a standalone file for some time and it works great but now I want to integrate it inside the kernel itself. for this I need to set CONFIG_INITRAMFS_SOURCE during the make process.
  2. hello! I need to create my own initial ramdisk during the armbian build process by supplying a value to this kernel tag:- grep CONFIG_INITRAMFS_SOURCE /home/andrew/armbian/build/cache/sources/linux-kernel-worktree/6.18__sunxi__armhf/.config CONFIG_INITRAMFS_SOURCE="usr/sideinitrd.cpio" my build runs under docker, and no matter where i place the CPIO file, i get this error: [🐳|🔨] make[3]: *** No rule to make target 'usr/sideinitrd.cpio', needed by 'usr/initramfs_inc_data'. Stop. [🐳|🔨] make[2]: *** [scripts/Makefile.build:556: usr] Error 2 [🐳|🔨] make[2]: *** Waiting for unfinished jobs.... just speculating, but maybe the armbian build cannot find my CPIO file in my compile tree known to docker:- pwd /home/andrew/armbian/build andrew@my-vps:~/armbian/build$ ls CONTRIBUTING.md Dockerfile README.md action.yml buildarmbian2.txt compile.sh extensions output patch shell.nix userpatches CREDITS.md LICENSE VERSION buildarmbian1.txt cache config lib packages requirements.txt tools chatGPT and gemini have wasted days on bogus suggestions on where to place it relative to my compile tree. i have tried many locations without success. EXPLANATION FROM GEMINI:- Armbian’s build process is designed to be "clean." When you run it inside Docker, it follows a strict sequence: Step A: It prepares the environment. Step B: It runs a "cleanup" on the kernel source to ensure no "junk" from previous builds exists (this deletes your .cpio file). Step 😄 It checks your .config and starts the make command. Because Step B happens every time you start the build, any file you manually copy into the kernel tree gets deleted seconds before the compiler actually looks for it. That is why you kept seeing No rule to make target. i am wondering if anyone has already done this before and how they got it going? latest log attached. help! andrew. buildarmbian2.txt.gz
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines