~sxmo-infra/sxmo-image-builder

60820aaf25861d3db5a3dbfbc644e8c2a270c388 — Miles Alan 4 years ago b9b2b58
Roll 0.1.10 Release and remove installation of custom alpine repository
3 files changed, 5 insertions(+), 16 deletions(-)

M .build.yml
D m@milesalan.com-5e6e8e01.rsa.pub
M pmbootstrap.cfg
M .build.yml => .build.yml +3 -5
@@ 4,7 4,7 @@ packages: [coreutils, procps, py3-requests, xz]
environment:
  #DEVICE: pinebookpro
  DEVICE: pinephone
  VERSION: 0.1.8
  VERSION: 0.1.10

secrets:
  - bcf1e9cf-4494-40f4-a725-87088afbf3b5


@@ 24,18 24,16 @@ tasks:
    
  - setup_pmbootstrap: |
      mkdir -p ~/.config && cp sxmo-image-builder/pmbootstrap.cfg ~/.config/
      cp sxmo-image-builder/m\@milesalan.com-5e6e8e01.rsa.pub pmbootstrap/pmb/data/keys/
      yes "" | ./pmbootstrap/pmbootstrap.py  --aports=$PWD/pmaports -q init   

  - build_image: |
      ./pmbootstrap/pmbootstrap.py chroot -b aarch64 ls
      ./pmbootstrap/pmbootstrap.py -mp=http://postmarketos1.brixit.nl/postmarketos/ -mp=http://sxmo.lrdu.org/alpine_repository/ update --arch aarch64 
      yes "mo" | ./pmbootstrap/pmbootstrap.py --details-to-stdout -mp=http://postmarketos1.brixit.nl/postmarketos/ -mp=http://sxmo.lrdu.org/alpine_repository/ install
      ./pmbootstrap/pmbootstrap.py -mp=http://postmarketos1.brixit.nl/postmarketos/ update --arch aarch64 
      yes "mo" | ./pmbootstrap/pmbootstrap.py --details-to-stdout -mp=http://postmarketos1.brixit.nl/postmarketos/ install
      ./pmbootstrap/pmbootstrap.py export images
      sudo losetup /dev/loop0 images/pine64-$DEVICE.img
      sudo mkdir bootpart
      sudo mount -o loop /dev/loop0p1 bootpart
      #sudo sed -i 's/pmos_boot=/PMOS_FORCE_PARTITION_RESIZE pmos_boot=/' bootpart/boot.scr
      sudo umount bootpart

  - compress_image: |

D m@milesalan.com-5e6e8e01.rsa.pub => m@milesalan.com-5e6e8e01.rsa.pub +0 -9
@@ 1,9 0,0 @@
-----BEGIN PUBLIC KEY-----
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA5YUDyzf1vtEw+GAw/N1V
wS0rMZ1CS7Gub/KMohNi01FEfdm/fRbr8OMmexpArkggjbgbXHfELCCvgz15Flav
Fl9CybKX+dUVpl/iWm3auTQD+0cB9mQVTwrbPW5HC5lcf9Fga0aw0mebTrtjnReU
X5tL5svbl+mA3clkYSFzDiEPlfSACVm4Hq/VnqVLXNvNJUJPnVHrUQM8zNsAOZqA
VikOpS5sbNB4pHHtr12F8DQs0UqAkBbbHj4x6rmqflultUXNmY4c2XQF9l3H6UYM
4iMm3DgOrTpCkolbwBnge0/xYXrAE2A6BR9aYNLyWGZdsfjDJ96nUsBu6vC8jzc4
EQIDAQAB
-----END PUBLIC KEY-----

M pmbootstrap.cfg => pmbootstrap.cfg +2 -2
@@ 3,7 3,7 @@ aports = pmaports
work = pmbootstrap_work
ccache_size = 5G
device = pine64-DEVICE
extra_packages = sxmo-ui
extra_packages = none
hostname = sxmo
jobs = 3
kernel = stable


@@ 13,5 13,5 @@ nonfree_userland = True
qemu_native_mesa_driver = dri-virtio
ssh_keys = False
timezone = EST
ui = none
ui = sxmo
user = mo