[Dev] [Libretools - Bug #378] [libremakepkg] reintroduce -u

labs at parabola.nu labs at parabola.nu
Fri Aug 30 20:38:18 GMT 2013



Issue #378 has been updated by lukeshu.

Assignee set to lukeshu

> HOOKPREBUILD doesn't solve it: it's run only by ... not fullpkg 

Then that should be a feature request in fullpkg. (Here you go: https://labs.parabola.nu/issues/403)

> updating also packages that will be removed before build.

Then run `librechroot clean-pkgs` before running `librechroot update`.

> (Not commenting on the issue of it being default/required or a recommended option disabling which can make broken packages.)

I think it's not unreasonable to require packagers to update their chroot when it needs to be.

----

Why I don't want to add this back in: fullpkg/treepkg are actually a good example of why this *shouldn't* be added.  You don't want to run -Syu before *every* package is built. You run it once at the beginning. Perhaps fullpkg/treepkg should do that for you.

A feature that I would be welcome to implementing is warning if there are uninstalled updates, what do you think?
----------------------------------------
Bug #378: [libremakepkg] reintroduce -u
https://labs.parabola.nu/issues/378

Author: mtjm
Status: open
Priority: bug
Assignee: lukeshu
Category: 
Target version: 


It's needed for fullpkg and mips64el builds depending on previously built updates.

HOOKPREBUILD doesn't solve it: it's run only by treepkg, not fullpkg nor libremakepkg; it would run before cleaning the chroot: updating also packages that will be removed before build.

Why not change it for fullpkg only: libremakepkg -u is faster and can be used for toolchain updates and other builds where the dependency tree of fullpkg is wrong (updating packages to the ones built is needed for toolchain updates).

(Not commenting on the issue of it being default/required or a recommended option disabling which can make broken packages.)




--
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://labs.parabola.nu/my/account



More information about the Dev mailing list