-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updating submodule packages to drop-ins quadlet files
resolves #674 During latest changes all subpackages use drop-in qudlet files Under QM etc/containers/systemd/qm.container.d/ dir Qm nested container quadlets moved to subsystems/ dir Update to quadlet files Signed-off-by: Yariv Rachmani <[email protected]>
- Loading branch information
Showing
25 changed files
with
88 additions
and
77 deletions.
There are no files selected for viewing
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
File renamed without changes.
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
File renamed without changes.
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
12 changes: 12 additions & 0 deletions
12
etc/containers/systemd/qm.container.d/qm_dropin_mount_bind_window_manager.conf
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,12 @@ | ||
# Drop-in configuration for Podman to mount bind tty from host to container | ||
# | ||
[Container] | ||
Mount=type=bind,source=/dev/tty0,target=/dev/tty0 | ||
Mount=type=bind,source=/dev/tty1,target=/dev/tty1 | ||
Mount=type=bind,source=/dev/tty2,target=/dev/tty2 | ||
Mount=type=bind,source=/dev/tty3,target=/dev/tty3 | ||
Mount=type=bind,source=/dev/tty4,target=/dev/tty4 | ||
Mount=type=bind,source=/dev/tty5,target=/dev/tty5 | ||
Mount=type=bind,source=/dev/tty6,target=/dev/tty6 | ||
Mount=type=bind,source=/dev/tty7,target=/dev/tty7 | ||
Mount=type=bind,source=/dev/tty0,target=/dev/tty0 |
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 |
---|---|---|
|
@@ -16,12 +16,15 @@ This subpackage installs a drop-in configuration for QM containers to mount bind | |
%autosetup -Sgit -n qm-%{version} | ||
|
||
%install | ||
install -d %{buildroot}%{_sysconfdir}/qm/containers/containers.conf.d | ||
install -m 644 etc/qm/containers/containers.conf.d/qm_dropin_mount_bind_dvb.conf \ | ||
%{buildroot}%{_sysconfdir}/qm/containers/containers.conf.d/ | ||
# Create the directory for drop-in configurations | ||
install -d %{buildroot}%{_sysconfdir}/containers/systemd/qm.container.d | ||
|
||
# Install the dvb drop-in configuration file | ||
install -m 644 %{_builddir}/qm-%{version}/etc/containers/systemd/qm.container.d/qm_dropin_mount_bind_dvb.conf \ | ||
%{buildroot}%{_sysconfdir}/containers/systemd/qm.container.d/qm_dropin_mount_bind_dvb.conf | ||
|
||
%files | ||
%{_sysconfdir}/qm/containers/containers.conf.d/qm_dropin_mount_bind_dvb.conf | ||
%{_sysconfdir}/containers/systemd/qm.container.d/qm_dropin_mount_bind_dvb.conf | ||
|
||
%changelog | ||
* Fri Jul 21 2023 RH Container Bot <[email protected]> | ||
|
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 |
---|---|---|
|
@@ -16,14 +16,17 @@ This sub-package installs drop-in configurations for QM containers to mount bind | |
%autosetup -Sgit -n qm-%{version} | ||
|
||
%install | ||
install -d %{buildroot}%{_sysconfdir}/qm/containers/containers.conf.d | ||
install -m 644 etc/qm/containers/containers.conf.d/qm_dropin_mount_bind_input.conf \ | ||
%{buildroot}%{_sysconfdir}/qm/containers/containers.conf.d/ | ||
# Create the directory for drop-in configurations | ||
install -d %{buildroot}%{_sysconfdir}/containers/systemd/qm.container.d | ||
|
||
# Install the KVM drop-in configuration file | ||
install -m 644 %{_builddir}/qm-%{version}/etc/containers/systemd/qm.container.d/qm_dropin_mount_bind_input.conf \ | ||
%{buildroot}%{_sysconfdir}/containers/systemd/qm.container.d/qm_dropin_mount_bind_input.conf | ||
|
||
%files | ||
%license LICENSE | ||
%doc README.md | ||
%{_sysconfdir}/qm/containers/containers.conf.d/qm_dropin_mount_bind_input.conf | ||
%{_sysconfdir}/containers/systemd/qm.container.d/qm_dropin_mount_bind_input.conf | ||
|
||
%changelog | ||
* Fri Jul 21 2023 RH Container Bot <[email protected]> | ||
|
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 |
---|---|---|
|
@@ -16,12 +16,14 @@ This subpackage installs a drop-in configuration for QM containers to mount bind | |
%autosetup -Sgit -n qm-%{version} | ||
|
||
%install | ||
install -d %{buildroot}%{_sysconfdir}/qm/containers/containers.conf.d | ||
install -m 644 etc/qm/containers/containers.conf.d/qm_dropin_mount_bind_radio.conf \ | ||
%{buildroot}%{_sysconfdir}/qm/containers/containers.conf.d/ | ||
# Create the directory for drop-in configurations | ||
install -d %{buildroot}%{_sysconfdir}/containers/systemd/qm.container.d | ||
# Install the KVM drop-in configuration file | ||
install -m 644 %{_builddir}/qm-%{version}/etc/containers/systemd/qm.container.d/qm_dropin_mount_bind_radio.conf \ | ||
%{buildroot}%{_sysconfdir}/containers/systemd/qm.container.d/qm_dropin_mount_bind_radio.conf | ||
|
||
%files | ||
%{_sysconfdir}/qm/containers/containers.conf.d/qm_dropin_mount_bind_radio.conf | ||
%{_sysconfdir}/containers/systemd/qm.container.d/qm_dropin_mount_bind_radio.conf | ||
|
||
%changelog | ||
* Fri Jul 21 2023 RH Container Bot <[email protected]> | ||
|
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 |
---|---|---|
|
@@ -21,20 +21,15 @@ This configuration is useful when graphical applications require access to the h | |
# No build required for configuration files | ||
|
||
%install | ||
# Create the required directory structure | ||
install -d %{buildroot}%{_sysconfdir}/containers/containers.conf.d | ||
install -d %{buildroot}%{_sysconfdir}/qm/containers/containers.conf.d | ||
# Create the directory for drop-in configurations | ||
install -d %{buildroot}%{_sysconfdir}/containers/systemd/qm.container.d | ||
|
||
# Install the configuration files | ||
install -m 644 etc/qm/containers/containers.conf.d/qm_dropin_mount_bind_tty7.conf \ | ||
%{buildroot}%{_sysconfdir}/qm/containers/containers.conf.d/qm_dropin_mount_bind_tty7.conf | ||
install -m 644 etc/qm/containers/containers.conf.d/qm_dropin_mount_bind_tty7.conf \ | ||
%{buildroot}%{_sysconfdir}/containers/containers.conf.d/qm_dropin_mount_bind_tty7.conf | ||
# Install the KVM drop-in configuration file | ||
install -m 644 %{_builddir}/qm-%{version}/etc/containers/systemd/qm.container.d/qm_dropin_mount_bind_tty7.conf \ | ||
%{buildroot}%{_sysconfdir}/containers/systemd/qm.container.d/qm_dropin_mount_bind_tty7.conf | ||
|
||
%files | ||
%{_sysconfdir}/containers/containers.conf.d/qm_dropin_mount_bind_tty7.conf | ||
%{_sysconfdir}/qm/containers/containers.conf.d/qm_dropin_mount_bind_tty7.conf | ||
|
||
%{_sysconfdir}/containers/systemd/qm.container.d/qm_dropin_mount_bind_tty7.conf | ||
%changelog | ||
* Fri Jul 21 2023 RH Container Bot <[email protected]> | ||
- Added drop-in configuration to mount bind /dev/tty7. |
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 |
---|---|---|
|
@@ -16,14 +16,16 @@ This sub-package installs drop-in configurations for QM containers to mount bind | |
%autosetup -Sgit -n qm-%{version} | ||
|
||
%install | ||
install -d %{buildroot}%{_sysconfdir}/qm/containers/containers.conf.d | ||
install -m 644 etc/qm/containers/containers.conf.d/qm_dropin_mount_bind_ttyUSB0.conf \ | ||
%{buildroot}%{_sysconfdir}/qm/containers/containers.conf.d/ | ||
# Create the directory for drop-in configurations | ||
install -d %{buildroot}%{_sysconfdir}/containers/systemd/qm.container.d | ||
|
||
# Install the KVM drop-in configuration file | ||
install -m 644 %{_builddir}/qm-%{version}/etc/containers/systemd/qm.container.d/qm_dropin_mount_bind_ttyUSB0.conf %{buildroot}%{_sysconfdir}/containers/systemd/qm.container.d/qm_dropin_mount_bind_ttyUSB0.conf | ||
|
||
%files | ||
%license LICENSE | ||
%doc README.md | ||
%{_sysconfdir}/qm/containers/containers.conf.d/qm_dropin_mount_bind_ttyUSB0.conf | ||
%{_sysconfdir}/containers/systemd/qm.container.d/qm_dropin_mount_bind_ttyUSB0.conf | ||
|
||
%changelog | ||
* Fri Jul 21 2023 RH Container Bot <[email protected]> | ||
|
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 |
---|---|---|
|
@@ -19,17 +19,19 @@ This subpackage installs a drop-in configuration for QM containers to mount bind | |
# No build required for configuration files | ||
|
||
%install | ||
install -d %{buildroot}%{_sysconfdir}/qm/containers/containers.conf.d | ||
install -d %{buildroot}%{_sysconfdir}/containers/systemd/ | ||
install -m 644 etc/qm/containers/containers.conf.d/qm_dropin_mount_bind_video.conf \ | ||
%{buildroot}%{_sysconfdir}/qm/containers/containers.conf.d/qm_dropin_mount_bind_video.conf | ||
# Create the directory for drop-in configurations | ||
install -d %{buildroot}%{_sysconfdir}/containers/systemd/qm.container.d | ||
install -d %{buildroot}%{rootfs_qm}%{_sysconfdir}/containers/systemd | ||
|
||
install -m 644 etc/containers/systemd/qm.container.d/qm_dropin_mount_bind_video.conf \ | ||
%{buildroot}%{_sysconfdir}/containers/systemd/qm.container.d/qm_dropin_mount_bind_video.conf | ||
install -m 644 subsystems/video/etc/containers/systemd/rear-camera.container \ | ||
%{buildroot}%{_sysconfdir}/containers/systemd/rear-camera.container | ||
|
||
%files | ||
%{_sysconfdir}/qm/containers/containers.conf.d/qm_dropin_mount_bind_video.conf | ||
%{_sysconfdir}/containers/systemd/rear-camera.container | ||
|
||
%files | ||
%{_sysconfdir}/containers/systemd/qm.container.d/qm_dropin_mount_bind_video.conf | ||
%{rootfs_qm}%{_sysconfdir}/containers/systemd/rear-camera.container | ||
%changelog | ||
* Fri Jul 21 2023 RH Container Bot <[email protected]> | ||
- Added video mount bind drop-in configuration. | ||
|
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 |
---|---|---|
|
@@ -16,17 +16,21 @@ This sub-package installs an experimental window manager for the QM environment. | |
%autosetup -Sgit -n qm-%{version} | ||
|
||
%install | ||
# Create the directory for drop-in configurations | ||
install -d %{buildroot}/%{_sysconfdir}/pam.d/ | ||
install -d %{buildroot}%{_sysconfdir}/containers/containers.conf.d | ||
install -m 644 ./subsystems/windowmanager/etc/qm/containers/containers.conf.d/qm_dropin_mount_bind_window_manager.conf \ | ||
%{buildroot}/%{_sysconfdir}/containers/containers.conf.d/ | ||
install -m 644 ./subsystems/windowmanager/etc/pam.d/wayland %{buildroot}/%{_sysconfdir}/pam.d/ | ||
install -d %{buildroot}%{_sysconfdir}/containers/systemd/qm.container.d | ||
|
||
# Install the Window manager drop-in configuration file | ||
install -m 644 %{_builddir}/qm-%{version}/etc/containers/systemd/qm.container.d/qm_dropin_mount_bind_window_manager.conf \ | ||
%{buildroot}%{_sysconfdir}/containers/systemd/qm.container.d/qm_dropin_mount_bind_window_manager.conf | ||
install -m 644 ./qm-windowmanager/etc/pam.d/wayland %{buildroot}/%{_sysconfdir}/pam.d/ | ||
|
||
%files | ||
%license LICENSE | ||
%doc README.md | ||
%{_sysconfdir}/pam.d/wayland | ||
%{_sysconfdir}/containers/containers.conf.d/qm_dropin_mount_bind_window_manager.conf | ||
%{_sysconfdir}/containers/systemd/qm.container.d/qm_dropin_mount_bind_window_manager.conf | ||
|
||
|
||
%changelog | ||
* Fri Jul 21 2023 RH Container Bot <[email protected]> | ||
|
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
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