~alpine/users

1

The way to create release tarball for Raspberry Pi from source codes on cross environment

Details
Message ID
<581119B1-71AB-41B7-A881-F3B202D5335E@outlook.com>
DKIM signature
missing
Download raw message
Hello,

I'm a embedded software engineer but a beginner of the Alpine Linux.

I want to create the same  tarball for Raspberry Pi from source codes
as alpine-rpi-3.14.1-aarch64.tar.gz which is provided on https://www.alpinelinux.org/downloads/ 
for my understanding

Could you tell me the best way to create it ?


I have already succeeded to compile each APKs for aarch64 
by using https://github.com/alpinelinux/docker-abuild and x86_64 based Linux PC.
But I could not find any information on wiki to create release tarball on  cross environment.

Best regards,
  T.Komagata
John Miner <jminer74@post.com>
Details
Message ID
<trinity-ad01ea51-db9f-4bad-8b07-3a4efac56603-1629082479085@3c-app-mailcom-lxa13>
In-Reply-To
<581119B1-71AB-41B7-A881-F3B202D5335E@outlook.com> (view parent)
DKIM signature
missing
Download raw message
> But I could not find any information on wiki to create release tarball on cross environment.


I do this by creating an arm chroot environment with alpine-chroot-install [1],
cloning the aports tree, and then using scripts/mkimage.sh [2] in the aports tree
to generate the tarball. The profile name you are looking for will be rpi
(which is defined in scripts/mkimg.arm.sh). Take a look at the mkimage.sh source
for usage.

[1] https://github.com/alpinelinux/alpine-chroot-install
[2] https://github.com/alpinelinux/aports/blob/master/scripts/mkimage.sh
Reply to thread Export thread (mbox)