Skip to content
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

JSON for Raspberry Pi OS #289

Open
Psychesnet opened this issue Jul 20, 2023 · 1 comment
Open

JSON for Raspberry Pi OS #289

Psychesnet opened this issue Jul 20, 2023 · 1 comment

Comments

@Psychesnet
Copy link

Hi, I would like to pack custom raspberry pi os for pi4, but I don't see the json for pi os at boards/raspberry-pi-4. Do you have any suggestions to have that json?
I try to use the json from old version(1.6.6) packer, looks like the key item at json is quite different. Need your help. Thanks.

@rvoitenko
Copy link

@Psychesnet I've used as template boards/rapberry-pi/raspios-lite-arm.json, and image from https://downloads.raspberrypi.org/ and added the following to make unpack works for xz archives:

      "file_unarchive_cmd": [
        "xz",
        "-d",
        "$ARCHIVE_PATH"
      ],

works like a charm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants