Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
cdist
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
41
Issues
41
List
Boards
Labels
Service Desk
Milestones
Merge Requests
9
Merge Requests
9
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
Container Registry
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
ungleich-public
cdist
Commits
7d7aa60e
Commit
7d7aa60e
authored
May 19, 2015
by
Nico Schottelius
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
create directories required by busybox
Signed-off-by:
Nico Schottelius
<
nico@wurzel.schottelius.org
>
parent
7ba6c0a4
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
2 deletions
+5
-2
hacking/v2-initramfs-from-os/all.sh
hacking/v2-initramfs-from-os/all.sh
+0
-0
hacking/v3-busybox/create_initramfs.sh
hacking/v3-busybox/create_initramfs.sh
+5
-2
hacking/v3-busybox/create_iso.sh
hacking/v3-busybox/create_iso.sh
+0
-0
hacking/v3-busybox/qemu-test.sh
hacking/v3-busybox/qemu-test.sh
+0
-0
No files found.
hacking/all.sh
→
hacking/
v2-initramfs-from-os/
all.sh
View file @
7d7aa60e
File moved
hacking/v3-busybox/
generate
.sh
→
hacking/v3-busybox/
create_initramfs
.sh
View file @
7d7aa60e
...
...
@@ -5,14 +5,17 @@ set -ex
initramfs_dir
=
$(
mktemp
-d
/tmp/cdist-preos.XXXXXXX
)
# initramfs_dir=$1
for
dir
in
bin sbin etc proc sys newroot
;
do
for
dir
in
bin sbin etc proc sys newroot
usr/bin usr/sbin
;
do
mkdir
-p
${
initramfs_dir
}
/
$dir
done
touch
${
initramfs_dir
}
/etc/mdev.conf
cp
init
"
${
initramfs_dir
}
/init"
cp
$(
which busybox
)
"
${
initramfs_dir
}
/bin"
ln
-fs
busybox
"
${
initramfs_dir
}
/bin/sh"
for
link
in
sh mount
;
do
ln
-fs
busybox
"
${
initramfs_dir
}
/bin/
$link
"
done
cd
"
${
initramfs_dir
}
"
find
.
| cpio
-H
newc
-o
|
gzip
...
...
hacking/create_iso.sh
→
hacking/
v3-busybox/
create_iso.sh
View file @
7d7aa60e
File moved
hacking/qemu-test.sh
→
hacking/
v3-busybox/
qemu-test.sh
View file @
7d7aa60e
File moved
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