Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
M
makeiso
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
trisquel
makeiso
Merge requests
!9
Makeiso fix1
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Makeiso fix1
Ark74/makeiso:makeiso_fix1
into
master
Overview
0
Commits
2
Changes
1
Merged
Luis Guzmán
requested to merge
Ark74/makeiso:makeiso_fix1
into
master
3 years ago
Overview
0
Commits
2
Changes
1
Expand
0
0
Merge request reports
Viewing commit
f093f95b
Prev
Next
Show latest version
1 file
+
4
−
11
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
f093f95b
Prevent issues on previous files.
· f093f95b
Luis Guzmán
authored
3 years ago
makeiso.sh
+
4
−
11
Options
@@ -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
Loading