Pengwin icon indicating copy to clipboard operation
Pengwin copied to clipboard

Unable to create install.tar.gz

Open NSilv opened this issue 5 years ago • 4 comments

I've been trying to build this for the past few hours and haven't been able to get a working install.tar.gz to put in the x64 folder before building. I've tried both the legacy roofts build scripts (on a clean, updated Debian WSL, and they always fail with "W: parser_rfc822: Iek! Don't find end of value!") and by getting the pengwin-rootfs-build releases. The pengwin-rootfs-build release only seem to contain zips of the source code, and not the actual install.tar.gz, so I tried building it by running the create-targz-x86.sh script (both from the downloaded zip and from a clone of the repo), and it finishes running but when I actually take the tar.gz (which I found to be in the /vagrant/build folder) and try to use it to build pengwin, I get a broken distro missing even the most basic commands (like sudo, for example). On some builds pengwin straight up didn't run.

Is there a recommended way to actually reliably build it from source, or somewhere I could find clean install.tar.gz files to use for the build? the BUILDING.md file seems old and not updated (for example, building with a recent VS2019 version, the ability to make self-signed certificates is there, whereas the file says it's not available)

NSilv avatar Jul 01 '20 12:07 NSilv

I was able to create a working Pengwin install.tar.gz by running create-targz.sh from pengwin-rootfs-build on Debian WSL. If you do this, you will need to edit the script so it unmounts the proc dev and sys partitions before creating the tar.gz file.

imaandrew avatar Jul 01 '20 14:07 imaandrew

Hello,

We are having problems creating the images, this is why the update scripts are there. I think it is probably due to a change in bullseye. What we are doing is to take an old install.tar.gz and update it to the latest version. I haven't tried directly from Debian WSL. If you modify the script to use buster instead of bullseye it will create the image correctly, then you need to update it to bullseye with an apt dist-upgrade.

Hope it helps

crramirez avatar Jul 01 '20 16:07 crramirez

Hello @NSilv

We made a patch in create-targz.sh and looks like is working. Can you make a test?

Regards, Carlos

crramirez avatar Aug 07 '20 11:08 crramirez

I'll test this as soon as I have a bit of time and let you know

NSilv avatar Aug 18 '20 07:08 NSilv