FS#21930 - [devtools] Patch archbuild to update the root, not the copy of the clean chroot.

Attached to Project: Arch Linux
Opened by Thomas Dziedzic (tomd123) - Monday, 29 November 2010, 23:18 GMT
Last edited by Pierre Schmitz (Pierre) - Thursday, 02 December 2010, 15:51 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Pierre Schmitz (Pierre)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Once a package in the root is outdated, it will update each time you run archbuild, this doesn't make any sense since you are just repeating the same work each time you run it. The following patch updates the root, and not just the copy of the chroot. Small packages aren't a problem, but if you have to upgrade kernel26 each time you build a package, it get's really annoying.

Patch attached.
   raw.txt (0.9 KiB)
This task depends upon

Closed by  Pierre Schmitz (Pierre)
Thursday, 02 December 2010, 15:51 GMT
Reason for closing:  Implemented
Comment by Andrea Scarpino (BaSh) - Monday, 29 November 2010, 23:42 GMT
please use "attach file" function
Comment by Andrea Scarpino (BaSh) - Monday, 29 November 2010, 23:43 GMT
there is no needed to pass -M and -C to mkarchroot, the chroot already has those configs. Neither ${base_packages}
Comment by Thomas Dziedzic (tomd123) - Tuesday, 30 November 2010, 00:02 GMT
sorry, I did the patching in a vm so this was the best way to transfer the file for me at the time.

I have attached the patch which trims the mentioned unneeded arguments.

Loading...