Skip to content

Commit

Permalink
docs: devel - add process of copying files to QM
Browse files Browse the repository at this point in the history
it's possible to copy files into regular images (not ostree based
distros). Let's document it too.

Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
  • Loading branch information
dougsland committed May 7, 2024
1 parent 269026a commit 4706e90
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions docs/devel/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
- [Useful Commands](#useful-commands)
- [Installing software inside QM partition](#installing-software-inside-qm-partition)
- [Removing software inside QM partition](#removing-software-inside-qm-partition)
- [Copying files to QM partition](#copying-files-to-qm-partition)
- [Listing QM service](#Listing-QM-service)
- [List QM container via podman](#List-QM-container-via-podman)
- [Connecting to QM container via podman](#Connecting-to-QM-container-via-podman)
Expand Down Expand Up @@ -137,6 +138,20 @@ dnf --installroot /usr/lib/qm/rootfs/ remove vim -y
dnf --installroot /usr/lib/qm/rootfs/ remove vim -y
```

## Copying files to QM partition
Please note: This process is only applicable for regular images.
OSTree images are read-only, and any files must be included during the build process.

Once this is understood, proceed by executing the following command on the host after
the QM package has been installed.

```bash
#host> cp file_to_be_copied /usr/lib/qm/rootfs/root
#host> podman exec -it qm bash
bash-5.1> ls /root
file_to_be_copied
```

## Listing QM service

```bash
Expand Down

0 comments on commit 4706e90

Please sign in to comment.