Commit 4fe2db8a authored by Francesco Bonanno's avatar Francesco Bonanno

Trying reverting back to qemu-arm-static. Loop devices now works, but qemu...

Trying reverting back to qemu-arm-static. Loop devices now works, but qemu doesn't support calls to open them. So using amd64 on docker
parent c845636f
image: arm32v7/debian
image: amd64/debian
before_script:
- echo 'Acquire::http { Proxy "http://172.17.0.1:3142"; }' >> /etc/apt/apt.conf.d/proxy
- apt-get update
- apt-get -y install sudo make build-essential autoconf automake autogen live-build tar gzip xz-utils gdisk unzip wget kpartx lvm2 dosfstools coreutils parted xfsprogs wget binutils tar git parted bc
- apt-get -y install sudo make build-essential autoconf automake autogen live-build tar gzip xz-utils gdisk unzip wget kpartx lvm2 dosfstools coreutils parted xfsprogs wget binutils tar git parted bc multiarch-support qemu-user qemu-user-static binfmt-support
- mkdir keyring && cd keyring && wget -r -np --tries=10 -A .deb "http://archive.parrotsec.org/parrot/pool/main/p/parrot-archive-keyring/" && dpkg --force-all -i archive.parrotsec.org/parrot/pool/main/p/parrot-archive-keyring/parrot-archive-keyring*.deb && cd .. && rm -rf keyring
- echo "deb http://deb.parrotsec.org/parrot/ parrot main" > /etc/apt/sources.list.d/parrot.list && apt update
- apt download live-build debootstrap && dpkg --force-all -i live-build*.deb debootstrap*.deb
......
image: arm32v7/debian
before_script:
- echo 'Acquire::http { Proxy "http://172.17.0.1:3142"; }' >> /etc/apt/apt.conf.d/proxy
- apt-get update
- apt-get -y install sudo make build-essential autoconf automake autogen live-build tar gzip xz-utils gdisk unzip wget kpartx lvm2 dosfstools coreutils parted xfsprogs wget binutils tar git parted bc
- mkdir keyring && cd keyring && wget -r -np --tries=10 -A .deb "http://archive.parrotsec.org/parrot/pool/main/p/parrot-archive-keyring/" && dpkg --force-all -i archive.parrotsec.org/parrot/pool/main/p/parrot-archive-keyring/parrot-archive-keyring*.deb && cd .. && rm -rf keyring
- echo "deb http://deb.parrotsec.org/parrot/ parrot main" > /etc/apt/sources.list.d/parrot.list && apt update
- apt download live-build debootstrap && dpkg --force-all -i live-build*.deb debootstrap*.deb
- rm -r /etc/apt/sources.list.d/parrot.list && apt update
build:
script: make clean && ./configure_gitlabCI && make all_arm64v8env -j8
artifacts:
paths:
- parrotsec-*rpi*
expire_in: 3 months
......@@ -37,6 +37,8 @@ lb config noauto \
--linux-flavours none \
--linux-packages none \
--debian-installer false \
--bootstrap-qemu-arch armhf \
--bootstrap-qemu-static /usr/bin/qemu-arm-static \
--bootappend-live 'username=parrot hostname=parrot-armhf' \
--source false \
--binary-images tar \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment