diff options
author | Riku Voipio <riku.voipio@linaro.org> | 2018-04-26 16:20:56 +0300 |
---|---|---|
committer | Riku Voipio <riku.voipio@linaro.org> | 2018-04-26 13:27:01 +0000 |
commit | bec244cd8400666ecade11394ebed49ab3ecb1ae (patch) | |
tree | 54b301588c93f337ebdd13c675a3cf6974615941 | |
parent | c1c6948afdbabee6c51d1a616f2889828f8345c6 (diff) |
update centos staging for ERP
Change-Id: Ib0c90387068215190242757739346ce9ee06b5ab
-rw-r--r-- | rpb-centos-installer-staging.yaml | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/rpb-centos-installer-staging.yaml b/rpb-centos-installer-staging.yaml index cd1c99a14d..4f49e6eba7 100644 --- a/rpb-centos-installer-staging.yaml +++ b/rpb-centos-installer-staging.yaml @@ -30,19 +30,17 @@ set -ex - # Make sure the base image is updated to 7.3.1611 - sudo sed -i 's/\$releasever/7.3.1611/g' /etc/yum.repos.d/CentOS-Base.repo + # Make sure the base image is updated to 7.4.1708 + sudo sed -i 's/\$releasever/7.4.1708/g' /etc/yum.repos.d/CentOS-Base.repo sudo yum update -y sudo yum install -y cpio lorax python-requests wget xz # Call lorax to create the netinstall image sudo rm -rf netinstall - sudo lorax '--product=CentOS Linux' --version=7 --release=7.3.1611 \ + sudo lorax '--product=CentOS Linux' --version=7 --release=7.4.1708 \ --source=http://mirror.centos.org/altarch/7/os/aarch64/ \ - --source=http://repo.linaro.org/rpm/linaro-overlay/centos-7/repo/ \ - --source=http://repo.linaro.org/rpm/linaro-staging/centos-7/repo/ \ - --source=http://obs.linaro.org/ERP-RPM:/17.08:/staging/ERP-17.08/ \ + --source=http://obs.linaro.org/ERP-RPM:/staging/staging/ \ --isfinal --nomacboot --noupgrade --buildarch=aarch64 '--volid=CentOS 7 aarch64' netinstall/ # Modify initrd to include a default kickstart (that includes the external repository) @@ -50,9 +48,7 @@ sudo mkdir initrd; cd initrd sudo sh -c 'xzcat ../initrd.img | cpio -d -i -m' cat > /tmp/ks.cfg << EOF - repo --name="linaro-overlay" --baseurl=http://repo.linaro.org/rpm/linaro-overlay/centos-7/repo/ - repo --name="linaro-staging" --baseurl=http://repo.linaro.org/rpm/linaro-staging/centos-7/repo/ - repo --name="ERP-RPM:17.08:staging" --baseurl=http://obs.linaro.org/ERP-RPM:/17.08:/staging/ERP-17.08/ + repo --name="ERP-RPM:staging" --baseurl=http://obs.linaro.org/ERP-RPM:/staging/staging/ EOF sudo cp /tmp/ks.cfg ks.cfg sudo sh -c 'find . | cpio -o -H newc | xz --check=crc32 --lzma2=dict=512KiB > ../initrd.img' |