Skip to content

Commit

Permalink
app-arch/dpkg: install /etc/dpkg/origins vendor files
Browse files Browse the repository at this point in the history
Closes: https://bugs.gentoo.org/840320
Signed-off-by: Georgy Yakovlev <[email protected]>
  • Loading branch information
gyakovlev committed Jan 4, 2023
1 parent d09b219 commit de67154
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions app-arch/dpkg/dpkg-1.21.15-r1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,15 @@ src_install() {
# https://bugs.gentoo.org/835520
mv -v "${ED}"/usr/share/zsh/{vendor-completions,site-functions} || die

# https://bugs.gentoo.org/840320
insinto /etc/dpkg/origins
newins - gentoo <<-_EOF_
Vendor: Gentoo
Vendor-URL: https://www.gentoo.org/
Bugs: https://bugs.gentoo.org/
_EOF_
dosym gentoo /etc/dpkg/origins/default

keepdir \
/usr/$(get_libdir)/db/methods/{mnt,floppy,disk} \
/var/lib/dpkg/{alternatives,info,parts,updates}
Expand Down

0 comments on commit de67154

Please sign in to comment.