Commit 04239470 authored by Francesco Bonanno's avatar Francesco Bonanno

Fixed spaces in tab in Makefile for building instructions for arm64v8 container

parent 951bed57
Pipeline #34 passed with stage
in 2 minutes and 36 seconds
......@@ -57,31 +57,32 @@ all:
sha1sum $(TARXZFILE) > $(SHA1SUMTARXZFILE); \
fi
# Used only in arm64v8 gitlab CI Debian container
all_arm64v8env:
echo $(BUILD_NUMBER_DATE) > $(BUILD_NUMBER_FILE)
./keyring-updater.sh
set -e; taskset 0x1 sudo lb build 2>&1 | tee $(LOGFILE)
if [ -f live-image-armhf.tar.tar.gz ]; then \
tar -jcf $(CONFIGFILE) auto/ config/ configure; \
sudo mv live-image-armhf.contents $(LISTFILE); \
sudo mv chroot.files $(CHROOTFILE); \
sudo mv chroot.packages.install $(PKGSFILE); \
sudo mv live-image-armhf.tar.tar.gz $(TARGZFILE); \
md5sum $(LOGFILE) $(CONFIGFILE) $(LISTFILE) $(CHROOTFILE) $(PKGSFILE) $(TARGZFILE) > $(MD5SUMSFILE); \
sha1sum $(LOGFILE) $(CONFIGFILE) $(LISTFILE) $(CHROOTFILE) $(PKGSFILE) $(TARGZFILE) > $(SHA1SUMSFILE); \
set -e; sudo ./build_parrotsec_image_CI.sh 2>&1 | tee $(LOGFILEIMG); \
fi
if [ -f parrotsec-rpi/parrot-armhf-image.img ]; then \
sudo mv parrotsec-rpi/parrot-armhf-image.img $(IMAGENAME); \
sudo mv parrotsec-rpi/parrot-armhf-image.img.md5sum.txt $(MD5SUMIMG); \
sudo mv parrotsec-rpi/parrot-armhf-image.img.sha1sum.txt $(SHA1SUMIMG); \
sleep 1; \
XZ_OPT=-9 tar cfJ $(TARXZFILE) $(IMAGENAME) $(MD5SUMIMG) $(SHA1SUMIMG) $(LOGFILEIMG); \
sudo rm -rf $(IMAGENAME) $(MD5SUMIMG) $(SHA1SUMIMG) $(LOGFILEIMG); \
md5sum $(TARXZFILE) > $(MD5SUMTARXZFILE); \
sha1sum $(TARXZFILE) > $(SHA1SUMTARXZFILE); \
fi
echo $(BUILD_NUMBER_DATE) > $(BUILD_NUMBER_FILE)
./keyring-updater.sh
set -e; taskset 0x1 sudo lb build 2>&1 | tee $(LOGFILE)
if [ -f live-image-armhf.tar.tar.gz ]; then \
tar -jcf $(CONFIGFILE) auto/ config/ configure; \
sudo mv live-image-armhf.contents $(LISTFILE); \
sudo mv chroot.files $(CHROOTFILE); \
sudo mv chroot.packages.install $(PKGSFILE); \
sudo mv live-image-armhf.tar.tar.gz $(TARGZFILE); \
md5sum $(LOGFILE) $(CONFIGFILE) $(LISTFILE) $(CHROOTFILE) $(PKGSFILE) $(TARGZFILE) > $(MD5SUMSFILE); \
sha1sum $(LOGFILE) $(CONFIGFILE) $(LISTFILE) $(CHROOTFILE) $(PKGSFILE) $(TARGZFILE) > $(SHA1SUMSFILE); \
set -e; sudo ./build_parrotsec_image_CI.sh 2>&1 | tee $(LOGFILEIMG); \
fi
if [ -f parrotsec-rpi/parrot-armhf-image.img ]; then \
sudo mv parrotsec-rpi/parrot-armhf-image.img $(IMAGENAME); \
sudo mv parrotsec-rpi/parrot-armhf-image.img.md5sum.txt $(MD5SUMIMG); \
sudo mv parrotsec-rpi/parrot-armhf-image.img.sha1sum.txt $(SHA1SUMIMG); \
sleep 1; \
XZ_OPT=-9 tar cfJ $(TARXZFILE) $(IMAGENAME) $(MD5SUMIMG) $(SHA1SUMIMG) $(LOGFILEIMG); \
sudo rm -rf $(IMAGENAME) $(MD5SUMIMG) $(SHA1SUMIMG) $(LOGFILEIMG); \
md5sum $(TARXZFILE) > $(MD5SUMTARXZFILE); \
sha1sum $(TARXZFILE) > $(SHA1SUMTARXZFILE); \
fi
finalize:
if [ -f live-image-armhf.tar.tar.gz ]; then \
......
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