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
48096620
Commit
48096620
authored
May 19, 2015
by
Nico Schottelius
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add v2 ideas
Signed-off-by:
Nico Schottelius
<
nico@wurzel.schottelius.org
>
parent
bb9d889d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
58 additions
and
0 deletions
+58
-0
hacking/v2-initramfs-from-os/add_kernel_isolinux.sh
hacking/v2-initramfs-from-os/add_kernel_isolinux.sh
+29
-0
hacking/v2-initramfs-from-os/packages_arch
hacking/v2-initramfs-from-os/packages_arch
+29
-0
No files found.
hacking/v2-initramfs-from-os/add_kernel_isolinux.sh
0 → 100755
View file @
48096620
#!/bin/sh
# FIXME: Write cdist type / explorer that finds
# package for a file, distro independent
if
[
"$#"
-ne
1
]
;
then
echo
"
$0
dir-out"
exit
1
fi
dir
=
$1
;
shift
boot
=
$dir
/boot
mkdir
-p
"
$boot
"
cp
/boot/vmlinuz-linux
\
/boot/initramfs-linux-fallback.img
\
/usr/lib/syslinux/bios/isolinux.bin
\
"
$boot
"
cp
/usr/lib/syslinux/bios/ldlinux.c32
\
"
$dir
"
cat
>
"
$dir
/isolinux.cfg"
<<
eof
default preos
label preos
title cdist PreOS
linux /boot/vmlinuz-linux
initrd /boot/initramfs-linux-fallback.img
eof
hacking/v2-initramfs-from-os/packages_arch
0 → 100644
View file @
48096620
base syslinux
[10:06] wurzel:hacking% sudo !!
sudo pacman -S base
[sudo] password for nico:
:: linux is in IgnorePkg/IgnoreGroup. Install anyway? [Y/n] y
:: There are 50 members in group base:
:: Repository core
1) bash 2) bzip2 3) coreutils 4) cryptsetup 5) device-mapper 6) dhcpcd 7) diffutils 8) e2fsprogs 9) file
10) filesystem 11) findutils 12) gawk 13) gcc-libs 14) gettext 15) glibc 16) grep 17) gzip 18) inetutils
19) iproute2 20) iputils 21) jfsutils 22) less 23) licenses 24) linux 25) logrotate 26) lvm2 27) man-db
28) man-pages 29) mdadm 30) nano 31) netctl 32) pacman 33) pciutils 34) pcmciautils 35) perl 36) procps-ng
37) psmisc 38) reiserfsprogs 39) s-nail 40) sed 41) shadow 42) sysfsutils 43) systemd-sysvcompat 44) tar
45) texinfo 46) usbutils 47) util-linux 48) vi 49) which 50) xfsprogs
Enter a selection (default=all):
:18,23s/ [0-9]*)//g
bash bzip2 coreutils cryptsetup device-mapper dhcpcd diffutils e2fsprogs file
filesystem findutils gawk gcc-libs gettext glibc grep gzip inetutils
iproute2 iputils jfsutils less licenses linux logrotate lvm2 man-db
man-pages mdadm nano netctl pacman pciutils pcmciautils perl procps-ng
psmisc reiserfsprogs s-nail sed shadow sysfsutils systemd-sysvcompat tar
texinfo usbutils util-linux vi which xfsprogs
6J
bash bzip2 coreutils cryptsetup device-mapper dhcpcd diffutils e2fsprogs file filesystem findutils gawk gcc-libs gettext glibc grep gzip inetutils iproute2 iputils jfsutils less licenses linux logrotate lvm2 man-db man-pages mdadm nano netctl pacman pciutils pcmciautils perl procps-ng psmisc reiserfsprogs s-nail sed shadow sysfsutils systemd-sysvcompat tar texinfo usbutils util-linux vi which xfsprogs
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