Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Kernel Installer
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
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
Canek Peláez Valdés
Kernel Installer
Commits
d77bc00d
Commit
d77bc00d
authored
10 years ago
by
Canek Peláez Valdés
Browse files
Options
Downloads
Patches
Plain Diff
kerninst: Remove debug messages.
parent
b63f0915
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
kerninst
+0
-5
0 additions, 5 deletions
kerninst
with
0 additions
and
5 deletions
kerninst
+
0
−
5
View file @
d77bc00d
...
...
@@ -245,7 +245,6 @@ function _delete_other_files_grub() {
function
_delete_other_files_gummiboot
()
{
for
DIR
in
/boot/
${
MACHINE_ID
}
/
*
;
do
if
[
"
${
DIR
}
"
==
"/boot/
${
MACHINE_ID
}
/
${
KERNEL_VERSION
}
"
]
;
then
echo
"
${
DIR
}
is the selected kernel boot directory."
continue
fi
einfo
"Deleting
${
DIR
}
..."
...
...
@@ -253,7 +252,6 @@ function _delete_other_files_gummiboot() {
done
for
FILE
in
/boot/loader/entries/
*
;
do
if
[
"
${
FILE
}
"
==
"/boot/loader/entries/
${
MACHINE_ID
}
-
${
KERNEL_VERSION
}
.conf"
]
;
then
echo
"
${
FILE
}
is the selected kernel boot entry."
continue
fi
einfo
"Deleting
${
FILE
}
..."
...
...
@@ -264,15 +262,12 @@ function _delete_other_files_gummiboot() {
function
clean
()
{
for
DIR
in
/usr/src/linux-
*
/lib/modules/
*
;
do
if
[
!
-d
"
${
DIR
}
"
]
;
then
echo
"
${
DIR
}
is not a dir."
continue
fi
if
[
"
${
DIR
}
"
==
"/usr/src/
${
KERNEL_DIR
}
"
]
;
then
echo
"
${
DIR
}
is the selected kernel directory."
continue
fi
if
[
"
${
DIR
}
"
==
"/lib/modules/
${
KERNEL_VERSION
}
"
]
;
then
echo
"
${
DIR
}
is the selected kernel modules directory."
continue
fi
einfo
"Deleting
${
DIR
}
..."
...
...
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