# Debian ARMMP armhf NFS, initramfs, modules and dtbs - job: name: lava-debian-jessie-armmp-armhf project-type: freestyle defaults: global logrotate: daysToKeep: 24 numToKeep: 12 properties: - authorization: anonymous: - job-read - job-extended-read platform-leads: - job-build - job-cancel disabled: false node: docker-jessie-amd64 display-name: 'LAVA - Build ARMHF ARMMP Debian files' wrappers: - timestamps builders: - linaro-publish-token - shell: | #!/bin/bash mkdir out cd out/ echo "deb http://mirror.bytemark.co.uk/debian jessie-backports main" > jessie-backports.list sudo mv jessie-backports.list /etc/apt/sources.list.d/ sudo apt-get update sudo DEBIAN_FRONTEND=noninteractive apt -q -y -t jessie-backports install qemu-user-static debootstrap wget https://git.linaro.org/lava-team/refactoring.git/blob_plain/HEAD:/scripts/armmp-nfs.sh chmod 744 ./armmp-nfs.sh sudo ./armmp-nfs.sh cd .. cat > ${WORKSPACE}/out/debian-armmp-armhf-readme.html <
            lava-debian-armmp-armhf build instructions

            This initramfs is built using update-initramfs inside a
            minimal Debian Jessie debootstrap chroot.
            The contents of the chroot is then packaged up as an NFS
            with an empty root password.
                    login_prompt: 'login:'
                    username: root

            apt is included in the NFS, as are bash, grep, iproute2, mawk and sed.
            The NFS uses the default init in Jessie: systemd.

            The Debian ARMMP kernel is a modular build and the modules
            need to be available in the initramfs for the kernel to be
            able to mount the NFS. The initramfs does not have DNS


            The script used by jenkins is available here:

            The base system is a Debian Jessie VM.

            The NFS rootfs uses a prompt of "root@jessie:"

EOF # Publish test -d ${HOME}/bin || mkdir ${HOME}/bin wget -q https://git.linaro.org/ci/publishing-api.git/blob_plain/HEAD:/linaro-cp.py -O ${HOME}/bin/linaro-cp.py time python ${HOME}/bin/linaro-cp.py --api_version 3 out components/lava/standard/debian/jessie/armhf/${BUILD_NUMBER} publishers: - email: recipients: 'neil.williams@linaro.org fathi.boudra@linaro.org'