Open lightumcc opened 5 days ago
Hey, This is a CustomPiOS issue, not a FullPageOS issue, since fullpageos does not have initramfs. I transferred it to the CustomPiOS repo.
You should really use make_custom_pi_os
not copy an existing repository.
The mounting is done here: https://github.com/guysoft/CustomPiOS/blob/devel/src/common.sh#L208
You can test adding there a bind mount to sysfs and see if that solves the issue.
You will need to fork CustomPiOS. and then clone+checkout the branch of your fork here i the github action:
- name: Checkout CustomPiOS
uses: actions/checkout@v2
with:
repository: 'lightumcc/CustomPiOS'
path: CustomPiOS
ref: Your_branch_name_here
https://github.com/guysoft/CustomPiOS/wiki/Building#quickstart---i-want-to-build-a-new-distro-using-docker (You could even use fullpageos as a remote module and have your stuff in a separate module, so it will not break on upgrades)
Thanks for the advice and I'm very sorry for the hassle. I am trying to migrate it to build from CustomPi OS. However, what I'm trying to express is that even if I don't change anything, building FullPage OS using GitHub Action in my fork alone causes this error, independent of whether FullPage OS uses initranmfs
or not, and this error occurs in apt
installation.
If you have an error then please share it. I can't tell you what is the cause or fix if I don't know what error you get. As you can see the current devel branch builds fine on FullPageOS.
I created a fork of FullPage OS just now at lightumcc/FullPageOS and just run an Action cause the same error on initranmfs
as the log I uploaded. I'm pretty sure if you manually trigger the action you will have the same result.
Ok, You wrote:
However, what I'm trying to express is that even if I don't change anything, building FullPage OS using GitHub Action in my fork alone causes this error
But what you provided above does have an error because /sys is not mounted. And I told you how to fix that.
Error comes from here: https://salsa.debian.org/kernel-team/initramfs-tools/-/blob/master/hook-functions#L482
Related: #238
True, that is a helpful solution
What were you doing?
I forked a repository for some specific usage. When I finished setup everything and push to GitHub, the action starts to run.
What did you expect to happen?
Build Successfully and output build.img.gz
What happened instead?
Few days ago, I build it successfully and it use
initramfs-tools (0.142+deb12u1)
, when I made some updates today, the GitHub Action start to useinitramfs-tools (0.142+rpt1+deb12u1)
and build failed. Both the success and fail log has been uploaded in the attachments.Was there an error message displayed? What did it say?
Version of FullPageOS?
N/A
Screenshot(s) showing the problem:
N/A
If you are building FullPageOS - provide a build.log that is created for the build
Via attachments. Fail-0_build.txt Success-0_build.txt