47 Commits

Author SHA1 Message Date
Robert Dower 74b0d83913 archive repository 2025-08-07 13:28:25 -07:00
Brett T. Warden 936f813362 Update bin_files
Update renamed files
Remove obsolete files
V1.2.0
2025-05-21 11:00:54 -07:00
Brett T. Warden 4cefca4f5e Only capture unoptimized libraries
We don't know what platform this will run on, so don't even bother
capturing the haswell/glibc-hwcaps library versions -- just find the
unoptimized originals.
V1.1.0
2023-10-30 11:02:37 -07:00
Brett T. Warden 94881ce7df Remove obsolete files from bin_files
Also update location of libsystemd-shared-*.so to /usr/lib64
2023-10-30 11:02:37 -07:00
Brett T. Warden 3c46c8af86 Ensure we create deeper directories for libs
Also use "update" mode for cp instead of "no clobber" to reduce error
messages.
2023-10-30 11:02:37 -07:00
Brett T. Warden 3413228eee Capture libs in glibc-hwcaps 2023-10-30 11:02:37 -07:00
Mark D Horn 6c942d83be glibc 2.34 merged libnss
The NSS files and dns plugins are now builtin to libc as of 2.34
https://sourceware.org/glibc/wiki/Release/2.34

Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
V1.0.19
2021-08-23 19:48:45 -04:00
Mark Horn 5ccd6503f4 Merge pull request #11 from mdhorn/systemd-249.1
Systemd 249.1
2021-08-23 19:18:57 -04:00
Mark D Horn 14ae75d920 Updates for the new systemd 249.1
Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
2021-08-02 11:18:01 -07:00
Mark D Horn 5de3b849d7 Sort and deduplicate the bin_files
There were half dozen duplicated lines because this was
not in a sorted order. This will make future patching
easier as well.

Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
2021-08-02 11:10:18 -07:00
Mark D Horn a94e960188 upower: update for the latest of upower
upower Version 0.99.12 dropped some EOL'd devs

Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
V1.0.18
2021-06-21 15:28:17 -07:00
Mark D Horn e5236e866e initramfs: drop binary from systemd
Previously systemd-initctl had no function because Clear Linux OS
compiles systemd without sysvinit support anyway. Upstream now no
longer installs the file if that happens start with systemd 246.

Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
V1.0.17
2020-09-04 14:56:05 -05:00
Mark D Horn 40e678ea00 initramfs: lvm sysroot
Only activate the Clear Linux OS rootfs volume.

Add lvm conf file to allow pvscan, but prevent starting the
lvmetad service. Otherwise, if non-root lvms exist, all lvms
are active and the Host OS will hang when starting lvmetad service.

Add new lvm2-mount-sysroot.service to only activate the rootfs
which is identified by the CLR_ROOT logical volume name.

Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
V1.0.16
2020-06-22 16:24:49 -05:00
Mark D Horn e53a847e1a initramfs: Add plugdev to reduce journal errors
This missing group floods the journal in the initrd run.

Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
2020-06-22 16:24:49 -05:00
Mark D Horn d3062686ef initramfs: Add the systemd lvm targets
Enable the clr-init to be used for LVM root installs.

Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
V1.0.15
2020-06-07 10:38:38 -05:00
Josue David Hernandez 9ea1c1caac Merge pull request #6 from mdhorn/mdadm
Fix broken symlink for /sbin
V1.0.14
2020-04-22 14:38:46 -05:00
Mark D Horn 16d833f9fd initramfs: /sbin needs to link to /usr/bin
Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
2020-04-20 17:56:58 -07:00
Josue David Hernandez Gutierrez 24ba73f49a refactoring of make file and get files from source
Signed-off-by: Josue David Hernandez Gutierrez <josue.d.hernandez.gutierrez@intel.com>
V1.0.13
2020-03-27 19:22:03 -06:00
Josue David Hernandez Gutierrez 25c9671be4 update udev rules to support the new way how SYSTEMD_READY works in systemd-244
Signed-off-by: Josue David Hernandez Gutierrez <josue.d.hernandez.gutierrez@intel.com>
V1.0.12
2020-03-26 12:51:04 -06:00
Josue David Hernandez Gutierrez ecf832e10f forcing cryptsetup.target to be executed
Signed-off-by: Josue David Hernandez Gutierrez <josue.d.hernandez.gutierrez@intel.com>
V1.0.11
2019-10-10 20:27:43 -05:00
Josue David Hernandez Gutierrez e3a2f5e757 avoiding sym links for libs
Signed-off-by: Josue David Hernandez Gutierrez <josue.d.hernandez.gutierrez@intel.com>
V1.0.10
2019-05-31 22:41:11 -05:00
Josue David Hernandez Gutierrez edafe36014 add -f to gzip to avoid the override confirmation
Signed-off-by: Josue David Hernandez Gutierrez <josue.d.hernandez.gutierrez@intel.com>
V1.0.9
2019-05-31 19:10:29 -05:00
Josue David Hernandez Gutierrez 5aa066c5d9 improve support for avx512_1
Signed-off-by: Josue David Hernandez Gutierrez <josue.d.hernandez.gutierrez@intel.com>
V1.0.8
2019-05-31 18:57:23 -05:00
Josue David Hernandez Gutierrez de467e085b add support for avx512_1
Signed-off-by: Josue David Hernandez Gutierrez <josue.d.hernandez.gutierrez@intel.com>
V1.0.7
2019-05-31 18:31:19 -05:00
Josue David Hernandez Gutierrez 812df7a7a5 change -a for -r in order to not preserve sym links
Signed-off-by: Josue David Hernandez Gutierrez <josue.d.hernandez.gutierrez@intel.com>
V1.0.6
2019-05-31 17:59:27 -05:00
Josue David Hernandez Gutierrez 429feb8a42 add parameter -n to avoid override files when they already exists
Signed-off-by: Josue David Hernandez Gutierrez <josue.d.hernandez.gutierrez@intel.com>
V1.0.5
2019-05-31 17:16:16 -05:00
Josue David Hernandez Gutierrez b77bb914eb Make the copying of the files to create the folders if not exists
Signed-off-by: Josue David Hernandez Gutierrez <josue.d.hernandez.gutierrez@intel.com>
V1.0.4
2019-05-31 15:40:22 -05:00
Auke Kok 7b3fc2cac6 Make this Makefile look sane.
- Actually use somewhat basic rules
- Don't line-propagate when it's not needed
- Fix indentation (must be TABS)
2019-05-31 11:10:26 -07:00
Josue David Hernandez Gutierrez ecf0effbbe include no avx2 shared libs to lib64 folder
Signed-off-by: Josue David Hernandez Gutierrez <josue.d.hernandez.gutierrez@intel.com>
V1.0.3
2018-12-03 20:22:04 -06:00
Josue David Hernandez Gutierrez e7380ffa64 Add shared libs in lib64/haswell to /lib64 if they exists
Signed-off-by: Josue David Hernandez Gutierrez <josue.d.hernandez.gutierrez@intel.com>
V1.0.2
2018-12-03 19:52:03 -06:00
Josue David Hernandez Gutierrez 50f774d679 Add support for haswell shared libraries
Fixes #1

Signed-off-by: Josue David Hernandez Gutierrez <josue.d.hernandez.gutierrez@intel.com>
V1.0.1
2018-11-28 17:38:40 -06:00
Josue David Hernandez ee60fd153b clr-init: adding load modules and emergency mode support
if something fails the initrd will provide a shell to see what was wrong

also now load kernel modules from an additional cpio file is posible this
cpio file just must have the path /usr/lib/modules/$(uname -r)/ with the common
kernel modules tree and module.* files to be loaded.

Signed-off-by: Josue David Hernandez <josue.d.hernandez.gutierrez@intel.com>
V1.0.0 0.2.10
2018-09-26 11:39:48 -05:00
Josue David Hernandez ae7cd7517c clr-init: remove verity generator from the bin_files
Signed-off-by: Josue David Hernandez <josue.d.hernandez.gutierrez@intel.com>
V0.2.9
2018-08-03 16:44:33 -05:00
Josue David Hernandez 2e185ccec7 clr-init: add support for load kernel modules that should be provided in an additional initramfs
Signed-off-by: Josue David Hernandez <josue.d.hernandez.gutierrez@intel.com>
2018-08-03 16:03:58 -05:00
Josue David Hernandez 3b5a68b274 clr-init: FIX issue with UUID root options
Signed-off-by: Josue David Hernandez <josue.d.hernandez.gutierrez@intel.com>
V0.2.8
2018-07-02 17:24:38 -05:00
Josue David Hernandez e1d78cd700 clr-init: change systemd to be able to load any version
Signed-off-by: Josue David Hernandez <josue.d.hernandez.gutierrez@intel.com>
2018-07-02 17:22:49 -05:00
Josue David Hernandez c9c5fa2937 clr-init: add ctrl-alt-del target support
if pasword fails or something is wrong you can reboot the system using
ctrl + alt + del

Signed-off-by: Josue David Hernandez <josue.d.hernandez.gutierrez@intel.com>
V0.2.7
2018-05-29 18:45:33 -05:00
Josue David Hernandez 749cb35ab8 clr-init: copy the so libs dinamically
based in the executable files copy the needed shared libraries

Signed-off-by: Josue David Hernandez <josue.d.hernandez.gutierrez@intel.com>
V0.2.6
2018-05-03 18:43:54 -05:00
Josue David Hernandez d443a29285 clr-init: fix installation issue
creating path $(DESTDIR)/usr/lib/initrd.d/ if don't exist

Signed-off-by: Josue David Hernandez <josue.d.hernandez.gutierrez@intel.com>
V0.2.5
2018-05-02 18:39:21 -05:00
Josue David Hernandez c27fa37516 clr-init: remove uneeded generators
Signed-off-by: Josue David Hernandez <josue.d.hernandez.gutierrez@intel.com>
V0.2.4 V0.2.3
2018-05-02 18:26:03 -05:00
Josue David Hernandez b20497f266 clr-init: change clr-init application for systemd init
this initrd will work using systemd as init program
then this repo provide the scripts to create a systemd initrd

Signed-off-by: Josue David Hernandez <josue.d.hernandez.gutierrez@intel.com>
V0.2.1 V0.2
2018-05-02 17:55:51 -05:00
Josue David Hernandez e5490d381f clr-init: change install path to lib/kernel
Signed-off-by: Josue David Hernandez <josue.d.hernandez.gutierrez@intel.com>
V0.1.3
2018-03-05 10:26:31 -06:00
Josue David Hernandez d81e399a23 clr-init: exit application on panic
just reboot when the max number of password tries is reached

Signed-off-by: Josue David Hernandez <josue.d.hernandez.gutierrez@intel.com>
2018-02-28 16:57:18 -06:00
Josue David Hernandez 0947a75a8a clr-init: add the option to rename 10-clr-init.img.gz
add option --with-initrd-name to meson configuration

Signed-off-by: Josue David Hernandez <josue.d.hernandez.gutierrez@intel.com>
2018-02-28 16:45:32 -06:00
Josue David Hernandez e49a7d67a5 clr-init: change installation path
change installation path from
${DESTDIR}/${MESON_INSTALL_PREFIX}/lib/kernel/${INITRD_FILE} to
${DESTDIR}/${MESON_INSTALL_PREFIX}/lib/initrd.d/${INITRD_FILE}

Signed-off-by: Josue David Hernandez <josue.d.hernandez.gutierrez@intel.com>
V0.1.2
2018-01-31 10:32:27 -06:00
Josue David Hernandez c1f897268d clr-initrd: add DESTDIR to install_initrd.sh
DESTDIR helps to autospec this source code.

Signed-off-by: Josue David Hernandez <josue.d.hernandez.gutierrez@intel.com>
V0.1.1
2018-01-22 14:14:56 -06:00
Josue David Hernandez 8aa0ffffa7 clr-init: initial commit V0.1
Signed-off-by: Josue David Hernandez <josue.d.hernandez.gutierrez@intel.com>
V0.1
2018-01-19 17:48:16 -06:00