Hi,
is it possible to refresh "initramfs | initramfs.cpio" without rebuilding the whole project ?
it seems that rebuilding the "linux" isn't enough.
best regards
Hi,
is it possible to refresh "initramfs | initramfs.cpio" without rebuilding the whole project ?
it seems that rebuilding the "linux" isn't enough.
best regards
i've very limited linux knowledge so any hint would be great.....
The content cannot be displayed because it is no longer available. Hi,
is it possible to refresh "initramfs | initramfs.cpio" without rebuilding the whole project ?
it seems that rebuilding the "linux" isn't enough.
best regards
Yes. As initramfs is built during the build of the linux package you should clean both initramfs and linux if you want to rebuild initramfs.
Thanks for the support.
regards
hi,
it doesn't seems to be enough ( ./scripts/clean linux & ./scripts/clean initramfs ) as the "initramfs" isn't update in the "build" directory.
Now it's not dramatic but if there's a way to bing modifications to the initramfs without rebuilding the whole stuff, i'm interested.
regards
What exactly are you trying to add/change in initramfs? Seems removing both packages does rebuild initramfs.cpio.
you're right.
i haven't given enough info.
if i mod the "platform_init" in the project directory , rebuilding the linux package and the initramfs package will not update the "platform_init" in the build directory.
regards
it works
tks
hi,
in the past i made a fork of balbes 150 works, changed a few things to be able to run libreelec on minix x8-h x8-hp.
i'm now working on a fork of "official" libreelec 9 and everything runs flawlessly except that i can't anymore boot from internal.
it seems that this part in the initramfs isn't correctly evaluated anymore.
------------------------------------------------------------------------
# Parse command line arguments
for arg in $(cat /proc/cmdline); do
case $arg in
hdmitx=*)
hdmitx="${arg#*=}"
;;
hdmimode=*)
hdmimode="${arg#*=}"
;;
BOOT_IMAGE=*)
BOOT_IMAGE="${arg#*=}"
;;
boot=*)
boot="${arg#*=}"
;;
disk=*)
disk="${arg#*=}"
;;
esac
done
echo "$hdmimode" > /sys/class/display/mode
# Add information where to run LibreELEC from
if [ -z "$BOOT_IMAGE" -o -z "$boot" -o -z "$disk" ]; then
cmdline=$(cat /proc/cmdline)
cmdline="$cmdline BOOT_IMAGE=/dev/boot boot=/dev/system disk=/dev/data"
echo "$cmdline" > /proc/cmdline
fi
---------------------------------------------------------------------------------------------------------------------------
anyone has the same kind of trouble?
I think boot from internal was removed? Or maybe I'm wrong.
k tks
i will dive into busybox, he's supposed to process the initramfs