Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
initramfs-with-mca
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
initramfs-with-mca
Commits
bea89200
Commit
bea89200
authored
Mar 24, 2023
by
Xiaowu Zhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove useless code
parent
627155f8
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
37 deletions
+0
-37
generation/10install-dependencies.sh
generation/10install-dependencies.sh
+0
-3
generation/30generate-image.sh
generation/30generate-image.sh
+0
-5
installation/10install-dependencies.sh
installation/10install-dependencies.sh
+0
-29
No files found.
generation/10install-dependencies.sh
View file @
bea89200
...
...
@@ -11,15 +11,12 @@ source 00env.sh
# useful tools
apt
-y
install sudo
wget tree pip
git config
--local
user.email
"ophelie.gagnard@nexedi.com"
git config
--local
user.name
"Ophelie Gagnard"
# building initramfs
apt
-y
install
dracut-core dracut dracut-network sbsigntool pip
apt
-y
build-dep linux
apt
-y
install
libncurses-dev
pip
install
slapos.libnetworkcache
cd
generation
rm
-f
*
"
$MCA_PACKAGE_NAME
"
*
rm
-f
*
"
$FLB_PACKAGE_NAME
"
*
rm
-f
*
"
$PLG_PACKAGE_NAME
"
*
...
...
generation/30generate-image.sh
View file @
bea89200
...
...
@@ -28,11 +28,6 @@ cd dracut.module
sed
"
${
dracut_conf_regex
}
"
dracut.conf.in
>
dracut.conf
cd
-
# Add files in initramfs
INCLUDE_DIR
=
files-to-include
rm
-rf
"
$INCLUDE_DIR
"
mkdir
-p
"
$INCLUDE_DIR
"
cp
-r
"
$KERNEL_DIR
"
/lib
"
$INCLUDE_DIR
"
export
DRACUT_KMODDIR_OVERRIDE
=
1
# Create an initramfs image
...
...
installation/10install-dependencies.sh
deleted
100755 → 0
View file @
627155f8
#!/bin/bash
set
-e
# get the root of the git repository (requires git to be installed)
GIT_ROOT
=
`
git rev-parse
--show-toplevel
`
cd
"
$GIT_ROOT
"
/installation
source
00env.sh
# useful tools
apt
-y
install sudo
wget tree pip
git config
--global
user.email
"ophelie.gagnard@nexedi.com"
git config
--global
user.name
"Ophelie Gagnard"
# the next line should be enabled when the following is merged and an egg containing the changes is released:
# https://lab.nexedi.com/nexedi/slapos.libnetworkcache/merge_requests/8
#pip install slapos.libnetworkcache
NC_BRANCH
=
cmdline-selection
NC_DIR
=
"
${
NC_BRANCH
}
"
_slapos.libnetworkcache
# NC for NetworkCache
cd
..
if
[
!
-d
"
$NC_DIR
"
]
;
then
git clone https://lab.nexedi.com/Ophelie/slapos.libnetworkcache.git
"
$NC_DIR
"
cd
"
$NC_DIR
"
git checkout
"
$NC_BRANCH
"
cd
..
pip
install
-e
"
$NC_DIR
"
fi
cd
installation
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment