Skip to content

Conversation

@jerrykan
Copy link
Contributor

Description of the change

Fix running mkimage on Debian 13/trixie

Benefits

The mkimage script will run on Debian 13/trixie

Possible drawbacks

None

Applicable issues

None

Additional information

It seems as though the /usr/share/keyrings/debian-archive-keyring.gpg on Debian 13/trixie is actually a symlink to debian-archive-keyring.pgp in the same directory. This means that the cp -a in mkimage copies the symlink and not the actual keyring, resulting in the following error:

E: specified keyring file (/<tmpdir>/debian-archive-keyring.gpg) not found

Using cp -aL ensures the file that is symlink source actually gets copied.

It seems as though the `/usr/share/keyrings/debian-archive-keyring.gpg`
on Debian 13/trixie is actually a symlink to
`debian-archive-keyring.pgp` in the same directory. This means that the
`cp -a` in `mkimage` copies the symlink and not the actual keyring,
resulting in the following error:

    E: specified keyring file (/<tmpdir>/debian-archive-keyring.gpg) not found

Using `cp -aL` ensures the file that is symlink source actually gets
copied.

Signed-off-by: John Kristensen <[email protected]>
@jerrykan
Copy link
Contributor Author

Added the missing Signed-off-by tag to the commit message.

@github-actions github-actions bot added the Stale label Dec 12, 2025
@carrodher carrodher removed the Stale label Dec 15, 2025
@bitnami bitnami deleted a comment from github-actions bot Dec 15, 2025
Copy link
Contributor

@jotamartos jotamartos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change LGTM. Thank you for your contribution

@jotamartos jotamartos merged commit ceef4f2 into bitnami:master Dec 16, 2025
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants