-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Your script is still listed in gentoo documentation for quickpkg.
For older portage (those with default PKGDIR is /var/portage/package) it is working well.
But in newer portage (where default PKGDIR is /var/cache/binpkgs) it seems that file /var/cache/binpkgs/Packages need to be created (or our temporary PKGDIR/Packages), so I had to add two lines in the end before last line:
rm *.xpak *.tbz2
PKGDIR=${WORKDIR} emaint --fix binhost
PKGDIR=${WORKDIR} emerge -K "=${CATEGORY}/${PF}" # last line as it was before, stays the same
rmline avoid errors shown in emerge command like '...xpak is not valid package'.emaint --fix binhost'generates needed Packages text file.
Both lines are correct and harmless for older portage too. So can you update your script with this or better solution?
Metadata
Metadata
Assignees
Labels
No labels