Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
create-iso
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Harbor Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
Linux Educacional 5
create-iso
Commits
3c2f8e0a
Commit
3c2f8e0a
authored
10 years ago
by
Diego Giovane Pasqualin
Browse files
Options
Downloads
Patches
Plain Diff
Add le5-stable repository to minicom installation
Signed-off-by:
Diego Giovane Pasqualin
<
dpasqualin@c3sl.ufpr.br
>
parent
95437217
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
scripts/00-update
+9
-3
9 additions, 3 deletions
scripts/00-update
with
9 additions
and
3 deletions
scripts/00-update
+
9
−
3
View file @
3c2f8e0a
...
@@ -52,6 +52,8 @@ rm -f "$CHROOTDIR"/etc/apt/sources.list.d/java-repos.list
...
@@ -52,6 +52,8 @@ rm -f "$CHROOTDIR"/etc/apt/sources.list.d/java-repos.list
if
[[
"
$1
"
==
minicom/
*
]]
;
then
if
[[
"
$1
"
==
minicom/
*
]]
;
then
echo
"deb http://le.c3sl.ufpr.br/le5 educ main"
\
echo
"deb http://le.c3sl.ufpr.br/le5 educ main"
\
>>
"
$CHROOTDIR
"
/etc/apt/sources.list.d/le-repos.list
>>
"
$CHROOTDIR
"
/etc/apt/sources.list.d/le-repos.list
echo
"deb http://le.c3sl.ufpr.br/le5 le5-stable main"
\
>>
"
$CHROOTDIR
"
/etc/apt/sources.list.d/le-repos.list
else
else
echo
"deb http://
$LEHOST
educ main"
\
echo
"deb http://
$LEHOST
educ main"
\
>>
"
$CHROOTDIR
"
/etc/apt/sources.list.d/le-repos.list
>>
"
$CHROOTDIR
"
/etc/apt/sources.list.d/le-repos.list
...
@@ -90,9 +92,13 @@ sed -i s/'exec update-grub'/'# exec update-grub'/g \
...
@@ -90,9 +92,13 @@ sed -i s/'exec update-grub'/'# exec update-grub'/g \
"
$CHROOTDIR
"
/etc/kernel/postinst.d/zz-update-grub
"
$CHROOTDIR
"
/etc/kernel/postinst.d/zz-update-grub
# Installs le-autoupgrade so the apt_preferences file is in place for the
# Installs {le,minicom}-autoupgrade so the apt_preferences file is in place
# rest of the process
# for the rest of the process
if
[[
"
$1
"
==
minicom/
*
]]
;
then
chroot
"
$CHROOTDIR
"
apt-get
-y
--force-yes
install
minicom-autoupgrade
else
chroot
"
$CHROOTDIR
"
apt-get
-y
--force-yes
install
le-autoupgrade
chroot
"
$CHROOTDIR
"
apt-get
-y
--force-yes
install
le-autoupgrade
fi
closeChroot
closeChroot
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment