-
-
Notifications
You must be signed in to change notification settings - Fork 134
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Raspberry Pi: Disable merged-usr of debootstrap #728
Conversation
base-files on noble or later contains symlink to /bin, /lib, /lib64, and /sbin as you can see at https://packages.ubuntu.com/en/noble/arm64/base-files/filelist However, because debootstrap already setup these symlinks, extracting base-files fails with the following error: I: Extracting base-files... E: Tried to extract package, but file already exists. Exit... (See also https://bugs.launchpad.net/ubuntu/+source/base-files/+bug/2054925) This commit prevent debootstrap from setting up symlinks and let base-files do that job instead.
Confirmed the build script generates image on OS 8 RC natively. The script fails because
Building on Docker as written in README fails but I believe this is not caused by this PR.
|
Docker builds for me. |
@stsdc Did you mean the above error didn't occur? |
@ryonakano I removed artifacts and started build using docker. The build was successful. Of course I got a Python error, because it couldn't upload.
When I run it again I got:
and
I don't know if this is expected or not. |
Thank you for your info. The Docker build didn't succeed for me at all but I'm using Fedora 39 as a host OS of Docker, not elementary OS, so that might cause my problem. 😞
I think this is because the current |
Fixes #727
base-files on noble or later contains symlink to /bin, /lib, /lib64, and /sbin as you can see at https://packages.ubuntu.com/en/noble/arm64/base-files/filelist
However, because debootstrap already setup these symlinks, extracting base-files fails with the following error:
(See also https://bugs.launchpad.net/ubuntu/+source/base-files/+bug/2054925)
This commit prevent debootstrap from setting up symlinks and let base-files do that job instead.