Skip to content
Snippets Groups Projects
Commit 3a8676cc authored by Luis Guzmán's avatar Luis Guzmán
Browse files

Merge branch 'makeiso_fix1' into 'master'

Makeiso fix1

See merge request trisquel/makeiso!9
parents d5ab22b1 fa76f18b
No related branches found
No related tags found
No related merge requests found
......@@ -55,6 +55,7 @@ mkdir -p ${CODENAME}_efi_repo/amd64/{conf,incoming}
#Get packages
apt-get -c $LOCAL_APT/apt.conf \
--print-uris install efibootmgr \
grub-efi-amd64 \
grub-efi-amd64-bin | \
cut -d\' -f2|grep http > ${CODENAME}_efi_repo/amd64/incoming/efi_wget.list
......
......@@ -261,12 +261,13 @@ mount -t sysfs none $CHROOT/sys
mount -t tmpfs none $CHROOT/tmp
echo "127.0.0.1 localhost" > $CHROOT/etc/hosts
#https://builds.trisquel.org/efi-image-repo/nabia_efi_repo.tar.gz
EFI_LOCAL_REPO="http://builds.trisquel.org/efi/"
DISTRO_REPO=$(curl -s $EFI_LOCAL_REPO|grep $CODENAME|awk -F'"' '{print$6}')
#Setup local EFI repository
EFI_LOCAL_REPO="http://builds.trisquel.org/efi"
DISTRO_REPO=$(curl -s $EFI_LOCAL_REPO/|grep $CODENAME|awk -F'"' '{print$6}')
#Get and copy repo to master
wget -q $EFI_LOCAL_REPO/$DISTRO_REPO
rm -rf master/{dists,pool}
tar -zxvf $DISTRO_REPO --directory master/
rm $DISTRO_REPO
......@@ -518,14 +519,6 @@ cd $WORKDIR
[ $ARCH = "i386" ] && SUBARCH=i686 || SUBARCH=amd64
if [ -d master/pool ] && [ -d master/distro ]; then
echo "There is already an updated repo available, continuing..."
else
echo "Copying static repo..."
cp files/repo/$ARCH/pool master -a || true
cp files/repo/$ARCH/dists master -a
fi
#VERSION=$VERSION-$(date +%Y%m%d)
NAME=${DIST}_${VERSION}_$SUBARCH
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment