Mail archive
alpine-devel

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

From: Milan P. Stanić <mps_at_arvanta.net>
Date: Wed, 5 Jun 2019 17:02:55 +0200

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_at_lists.alpinelinux.org
Help:         alpine-devel+help_at_lists.alpinelinux.org
---
Received on Wed Jun 05 2019 - 17:02:55 UTC