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 <john@jerrykan.com>
@jerrykan
Copy link
Contributor Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants