-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7beae75
commit 8ac62d1
Showing
39 changed files
with
1,009 additions
and
2,008 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 2 additions & 3 deletions
5
elements/components/sysroot.yml → elements/components/pkgupd.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
id: system-image | ||
merge: [ version.yml ] | ||
about: System Image | ||
|
||
include: | ||
- system/deps.yml | ||
|
||
capabilities: | ||
- CAP_SYS_CHROOT | ||
|
||
include-root: /sysroot | ||
include-parts: [ doc, devel ] | ||
|
||
kargs: >- | ||
--karg=root=live:LABEL=RLXOS | ||
--karg=quiet | ||
--karg=splash | ||
--karg=rd.live=1 | ||
--karg=rd.live.overlay.overlayfs=1 | ||
force-rebuild: true | ||
strip: false | ||
|
||
script: |- | ||
chroot %{include-root} /bin/bash -e << "EOT" | ||
for i in %{datadir}/pkgupd/manifest/*/integration ; do | ||
sh -e $i | ||
done | ||
rm -rf /install-root | ||
mkdir -p /proc | ||
update-ca-certificates | ||
echo "root:root" | chpasswd | ||
echo -e "\nGTK_CSD=1" >> %{sysconfdir}/environment | ||
# TODO: should be enabled via systemd user-preset | ||
systemctl enable --global appimaged.service | ||
systemctl enable --global wob.socket | ||
# TODO: should be done in components/pam::integration | ||
chmod 4755 %{bindir}/unix_chkpwd -v | ||
ln -sfv %{datadir}/zoneinfo/UTC %{sysconfdir}/localtime | ||
touch %{sysconfdir}/skel/.zshrc | ||
kerver=$(ls -1 /lib/modules | head -n1) | ||
cp /lib/modules/${kerver}/bzImage /lib/modules/${kerver}/vmlinuz | ||
EOT | ||
mkdir -p %{install-root} | ||
mksquashfs %{sysroot} %{install-root}/system.img -noappend | ||
cp %{include-root}%{libdir}/modules/*/vmlinuz %{install-root}/vmlinuz |
Oops, something went wrong.