Commit 96b0fb30 authored by Daniel Bissani Furlin's avatar Daniel Bissani Furlin

SCRUM#523: Add argument ARCH to create-local-repository

parent f9043662
......@@ -52,6 +52,7 @@ if test -z ${fingerprint}; then
fi
cp -Ra ${PREFIX}/src/local-repository/ ${PREFIX}/repo/
sed -i "s/##ARCH##/ ${_ARCH}/" ${PREFIX}/repo/conf/distributions
sed -i "s/##GPGKEY##/ ${fingerprint}/" ${PREFIX}/repo/conf/distributions
codename=$(grep 'Codename' ${PREFIX}/repo/conf/distributions | cut -d':' -f2)
chroot ${CHROOTDIR} apt-get clean
......
Origin: C3SL
Label: C3sl Live
Architectures: amd64
Architectures:##ARCH##
Codename: stable
Components: main
Description: Repo description
......
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