UnlikelyLass Posted August 18, 2024 Posted August 18, 2024 (edited) Hello! I had an issue upgrading my khadas edge2 to the linux-image-edge-rockchip-rk3588 package (24.8.0-trunk.597) on the edge/rolling release image I had installed. It looks like issues with building the initramfs files, specifically trying to symlink on top of a file that already exists and/or copying the /bin/osk-sdl binary. The following seems to have allowed me to use apt install -f to get the kernel and initramfs files to be built and installed successfully. Probably the change in the symlink code was unnecessary, but I did both and got a bootable system out of it, so it's a bit late for me to test. I made the following changes to /usr/share/initramfs-tools/hooks/osk-sdl: 24c24,28 < ln -s "$(basename "${so_src}")" "${DESTDIR}/${so}" --- > if [ -f "${DESTDIR}/${so}" ] ; then > echo "FIXME: ${DESTDIR}/${so} exists! Skipping!" > else > ln -s "$(basename "${so_src}")" "${DESTDIR}/${so}" > fi 71c75,76 < exit 1 --- > echo "FIXME: not exiting..." > # exit 1 Obviously, this isn't a long-term solution, I just wanted to make sure my system was bootable, and this allowed me to get that. I should maybe add that it looks like the rolling release build of this didn't result in an OS image on the website -- I don't know if that is related or not: Missing: https://dl.armbian.com/nightly/khadas-edge2/Noble_edge_gnome Present: https://dl.armbian.com/nightly/khadas-edge2/Noble_vendor_gnome-kisak Edited August 18, 2024 by UnlikelyLass 0 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.