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
bb9d889d
Commit
bb9d889d
authored
May 19, 2015
by
Nico Schottelius
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rename & cleanup
Signed-off-by:
Nico Schottelius
<
nico@wurzel.schottelius.org
>
parent
50bca789
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
22 additions
and
6 deletions
+22
-6
hacking/.gitignore
hacking/.gitignore
+1
-0
hacking/README
hacking/README
+5
-0
hacking/v2-initramfs-from-os/bin_to_pkg.sh
hacking/v2-initramfs-from-os/bin_to_pkg.sh
+0
-0
hacking/v2-initramfs-from-os/copy_files_for_iso.sh
hacking/v2-initramfs-from-os/copy_files_for_iso.sh
+0
-0
hacking/v2-initramfs-from-os/filelist_from_package.sh
hacking/v2-initramfs-from-os/filelist_from_package.sh
+5
-3
hacking/v3-busybox/copy_bin_with_libs.sh
hacking/v3-busybox/copy_bin_with_libs.sh
+9
-3
hacking/v3-busybox/create_initramfs.sh
hacking/v3-busybox/create_initramfs.sh
+2
-0
No files found.
hacking/.gitignore
View file @
bb9d889d
iso/
*.iso
preos/
hacking/README
View file @
bb9d889d
...
...
@@ -2,9 +2,14 @@
- rootfs fix
- get working to login
- have sshd enabled
- kernel -> initramfs?
http://jootamam.net/howto-initramfs-image.htm
- busybox!!
- everything into initramfs?
- permission problem on various files below /etc
- Target:
- get working iso
- have it configured and gathered by cdist?
...
...
hacking/bin_to_pkg.sh
→
hacking/
v2-initramfs-from-os/
bin_to_pkg.sh
View file @
bb9d889d
File moved
hacking/copy_files_for_iso.sh
→
hacking/
v2-initramfs-from-os/
copy_files_for_iso.sh
View file @
bb9d889d
File moved
hacking/v2-initramfs-from-os/filelist_from_package.sh
View file @
bb9d889d
...
...
@@ -8,12 +8,14 @@
gettext glibc
grep gzip
inetutils iproute2
\
iputils jfsutils less licenses linux logrotate lvm2
\
man-db man-pages mdadm nano pacman pciutils
\
pcmciautils p
erl p
rocps-ng psmisc reiserfsprogs
\
pcmciautils procps-ng psmisc reiserfsprogs
\
s-nail
sed
shadow sysfsutils systemd-sysvcompat
tar
\
texinfo
usbutils util-linux vi which xfsprogs
\
usbutils util-linux vi which xfsprogs
\
;
do
pacman
-Qlq
$pkg
|
grep
-v
\
-e
/usr/share/man/
\
-e
/usr/share/doc/
-e
/usr/share/doc/
\
-e
/usr/include
done
)
|
sort
|
uniq
hacking/
recursive-ldd
.sh
→
hacking/
v3-busybox/copy_bin_with_libs
.sh
View file @
bb9d889d
...
...
@@ -6,14 +6,20 @@
PATH
=
/bin:/sbin:/usr/bin:/usr/sbin
pkg
=
"
#bin_list="udevadm bash fdisk mount syslinux umount rm mv"
bin_list
=
"udevadm fdisk"
bin_list="
bash fdisk mount syslinux umount
rm mv
"
libs
=
$(
mktemp
/tmp/cdist-preos-libs.XXXXXXXXXXXXX
)
for
bin
in
bin_list
;
do
for bin in command_list; do
done
rm
-f
"
$libs
"
# lfs
## ldd /bin/$f | sed "s/\t//" | cut -d " " -f1 >> $unsorted
exit
0
...
...
hacking/v3-busybox/create_initramfs.sh
View file @
bb9d889d
...
...
@@ -20,6 +20,8 @@ done
cd
"
${
initramfs_dir
}
"
find
.
| cpio
-H
newc
-o
|
gzip
rm
-rf
"
${
initramfs_dir
}
"
exit
0
# TODO:
...
...
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