Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
Plague Kernel
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
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
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
Opt Out
Plague Kernel
Commits
a66bf54a
Verified
Commit
a66bf54a
authored
1 year ago
by
Opt Out
Browse files
Options
Downloads
Patches
Plain Diff
Fixed Fedora deps | Added zstd back to Void linux dep list
parent
d801df98
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
self_compilation.sh
+4
-3
4 additions, 3 deletions
self_compilation.sh
with
4 additions
and
3 deletions
self_compilation.sh
+
4
−
3
View file @
a66bf54a
...
@@ -28,17 +28,18 @@ function check_distro(){
...
@@ -28,17 +28,18 @@ function check_distro(){
case
"
${
distroId
,,
}
"
in
case
"
${
distroId
,,
}
"
in
*
void
*
)
*
void
*
)
printf
'%s\n'
"Detected Void Linux..."
printf
'%s\n'
"Detected Void Linux..."
xbps-install
-Sy
make gcc xz elfutils elfutils-devel flex ncurses-devel openssl openssl-devel argp-standalone gcc-ada mpc libmpc-devel gmp-devel perl
xbps-install
-Sy
make gcc xz elfutils elfutils-devel flex ncurses-devel openssl openssl-devel argp-standalone gcc-ada mpc libmpc-devel gmp-devel perl
zstd
return
0
return
0
;;
;;
*
debian
*
|
*
ubuntu
*
)
*
debian
*
|
*
ubuntu
*
)
printf
'%s\n'
"Detected Debian-based Distribution..."
printf
'%s\n'
"Detected Debian-based Distribution..."
sudo
apt-get
install
build-essential linux-source bc kmod cpio flex libncurses5-dev libelf-dev libssl-dev dwarves bison
sudo
apt-get
install
build-essential linux-source bc kmod cpio flex libncurses5-dev libelf-dev libssl-dev dwarves bison
zstd
return
0
return
0
;;
;;
*
fedora
*
|
*
redhat
*
)
*
fedora
*
|
*
redhat
*
)
printf
'%s\n'
"Detected RHEL-based Distribution..."
printf
'%s\n'
"Detected RHEL-based Distribution..."
sudo
dnf
install
binutils /usr/include/
{
libelf.h,openssl/pkcs7.h
}
\
sudo
dnf
install
binutils /usr/include/
{
libelf.h,openssl/pkcs7.h
}
\
/usr/bin/
{
bc,bison,flex,gcc,git,openssl,make,perl,pahole,zstd
}
return
0
return
0
;;
;;
*
)
*
)
...
...
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