~alpine/devel

1

Re: [alpine-devel] Building alpine linux from source code

Details
Message ID
<64c0f770-c27c-70f9-3518-ceb07576c21f@linux.ibm.com>
Sender timestamp
1559681201
DKIM signature
missing
Download raw message
Hi,

$ sudo apk add abuild
$ sudo addgroup your-user abuild
--- log out and log in ---
$ abuild-keygen -a
--- copy your pub key in ~/.abuild/ to /etc/apk/keys/
$ git clone git://git.alpinelinux.org/aports
$ cd aports/scripts
$ mkdir outdir workdir
$ ./mkimage.sh --arch x86_64 --hostkeys --profile minirootfs \
	--outdir outdir --workdir workdir \
	--repository http://dl-cdn.alpinelinux.org/alpine/v3.9/main \

$ ./mkimage.sh --help for more info.

Cheers,

On 6/4/19 10:38 AM, Oguzhan Oezkut wrote:
> Hello,
> 
> I working on a presentation about docker and alpine for the school.
> 
> I would like to build certain alpine binaries from the scratch from
> source code. I’m looking for the build script for
> “*alpine-minirootfs-3.9.4-x86_64.tar.gz*” which is available at
> http://dl-cdn.alpinelinux.org/alpine/v3.9/releases/x86_64/
> 
> However, I looking for the exact source code and the build script and if
> possible some information how to build, like build script parameters and
> build environment.
> 
> It would be great if you could help me!
> 
>  
> 
> Thanks in advanced
> 
> Oguzhan
> 
>  
> 
> --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help:
> alpine-devel+help@lists.alpinelinux.org ---



---
Unsubscribe:  alpine-devel+unsubscribe@lists.alpinelinux.org
Help:         alpine-devel+help@lists.alpinelinux.org
---

Re: [alpine-devel] Building alpine linux from source code

Milan P. Stanić <mps@arvanta.net>
Details
Message ID
<20190605150255.GA30546@arya.arvanta.net>
In-Reply-To
<64c0f770-c27c-70f9-3518-ceb07576c21f@linux.ibm.com> (view parent)
Sender timestamp
1559746975
DKIM signature
missing
Download raw message
On Tue, 2019-06-04 at 22:46, Tuan Hoang wrote:
> $ sudo apk add abuild
> $ sudo addgroup your-user abuild
> --- log out and log in ---
> $ abuild-keygen -a
> --- copy your pub key in ~/.abuild/ to /etc/apk/keys/
> $ git clone git://git.alpinelinux.org/aports
> $ cd aports/scripts
> $ mkdir outdir workdir
> $ ./mkimage.sh --arch x86_64 --hostkeys --profile minirootfs \
> 	--outdir outdir --workdir workdir \
> 	--repository http://dl-cdn.alpinelinux.org/alpine/v3.9/main \
> 
> $ ./mkimage.sh --help for more info.

I tried with edge repo with next command:
./mkimage.sh --arch armv7 --hostkeys --profile uboot --outdir out \
--workdir workdir --repository http://dl-cdn.alpinelinux.org/alpine/edge/main

But I've got error as follows:
---
fetch
http://dl-cdn.alpinelinux.org/alpine/edge/main/armv7/APKINDEX.tar.gz
v3.10.0_rc1-312-gec5cf1352d
[http://dl-cdn.alpinelinux.org/alpine/edge/main]
OK: 5655 distinct packages available
>>> mkimage-armv7: Building uboot
>>> mkimage-armv7: --> kernel armv7 vanilla
>>> 8b234b668fd03f4f1cbf1d49937a7262e1f4b9ce linux-vanilla
>>> linux-firmware wireless-regdb xtables-addons-vanilla
ERROR: unsatisfiable constraints:
  alpine-base (missing):
    required by: world[alpine-base]
  linux-firmware (missing):
    required by: world[linux-firmware]
  linux-vanilla (missing):
    required by: world[linux-vanilla]
  wireless-regdb (missing):
    required by: world[wireless-regdb]
  xtables-addons-vanilla (missing):
    required by: world[xtables-addons-vanilla]
---

I installed all needed packages but without luck.

-- 
regards
...


---
Unsubscribe:  alpine-devel+unsubscribe@lists.alpinelinux.org
Help:         alpine-devel+help@lists.alpinelinux.org
---
Reply to thread Export thread (mbox)