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
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
96c852c1
Commit
96c852c1
authored
12 years ago
by
Lucas Manika Koeb
Browse files
Options
Downloads
Patches
Plain Diff
Avoid grub-prob errors on le5 and minicom isos
Signed-off-by:
Lucas Manika Koeb
<
lmk08@c3sl.ufpr.br
>
parent
e1be614e
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
scripts/00-update
+6
-0
6 additions, 0 deletions
scripts/00-update
scripts/40-configure_le5
+2
-0
2 additions, 0 deletions
scripts/40-configure_le5
scripts/40-configure_minicom
+2
-0
2 additions, 0 deletions
scripts/40-configure_minicom
with
10 additions
and
0 deletions
scripts/00-update
+
6
−
0
View file @
96c852c1
...
...
@@ -95,6 +95,12 @@ chroot "$CHROOTDIR" apt-get -y --force-yes update
# rest of the process
chroot
"
$CHROOTDIR
"
apt-get
-y
--force-yes
install
le-autoupgrade
# Avoid grub-probe errors
cp
-f
"
$CHROOTDIR
"
/usr/sbin/grub-probe
"
$CHROOTDIR
"
/usr/sbin/grub-probe.tmp
echo
"#!/bin/bash"
>
"
$CHROOTDIR
"
/usr/sbin/grub-probe
echo
"exit 0"
>>
"
$CHROOTDIR
"
/usr/sbin/grub-probe
chmod
a+x
"
$CHROOTDIR
"
/usr/sbin/grub-probe
closeChroot
exit
0
This diff is collapsed.
Click to expand it.
scripts/40-configure_le5
+
2
−
0
View file @
96c852c1
...
...
@@ -96,6 +96,8 @@ chroot $CHROOTDIR dpkg-reconfigure le-greeter
cp
-f
"
$TEMPLATES
"
/casper/10adduser
\
"
$CHROOTDIR
"
/usr/share/initramfs-tools/scripts/casper-bottom/10adduser
mv
"
$CHROOTDIR
"
/usr/sbin/grub-probe.tmp
"
$CHROOTDIR
"
/usr/sbin/grub-probe
# Sets deb-conf install command
sed
-i
's@Ubuntu@LE@g'
"
$CDDIR
"
/preseed/ubuntu.seed
sed
-i
's@ubuntu@le@g'
"
$CDDIR
"
/preseed/ubuntu.seed
...
...
This diff is collapsed.
Click to expand it.
scripts/40-configure_minicom
+
2
−
0
View file @
96c852c1
...
...
@@ -95,6 +95,8 @@ esac
echo
"export
\"
FLAVOUR=le5
\"
"
>>
"
$CHROOTDIR
"
/etc/casper.conf
mv
"
$CHROOTDIR
"
/usr/sbin/grub-probe.tmp
"
$CHROOTDIR
"
/usr/sbin/grub-probe
# Sets deb-conf install command
sed
-i
's@Ubuntu@LE@g'
"
$CDDIR
"
/preseed/ubuntu.seed
sed
-i
's@ubuntu@le@g'
"
$CDDIR
"
/preseed/ubuntu.seed
...
...
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