FS#35685 - [pacman] PKGBUILD's backup can not work on grub4dos

Attached to Project: Pacman
Opened by Daniel YC Lin (dlin) - Friday, 07 June 2013, 03:37 GMT
Last edited by Allan McRae (Allan) - Friday, 07 June 2013, 09:35 GMT
Task Type Bug Report
Category Backend/Core
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version 4.1.1
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
I wrote a grub4dos PKGBUILD on aur.
The backup=(etc/grub4dos.conf grub/menu.lst)

When I try to upgrade from 0.4.5b_20111230-1 -> 0.4.6a_20130521-1.
It won't backup my /grub/menu.lst, it just overwrite it.


Additional info:
* package version(s)
pacman 4.1.1-1
* config and/or log files etc.


Steps to reproduce:
This task depends upon

Closed by  Allan McRae (Allan)
Friday, 07 June 2013, 09:35 GMT
Reason for closing:  Not a bug
Comment by Allan McRae (Allan) - Friday, 07 June 2013, 04:02 GMT
Provide the --debug output of that update.
Comment by Daniel YC Lin (dlin) - Friday, 07 June 2013, 05:14 GMT
Here are the logs.
Comment by Allan McRae (Allan) - Friday, 07 June 2013, 05:22 GMT
Your upgrade is not successful:

debug: "grub4dos-0.4.6a_20130521-1-x86_64.pkg.tar.xz" is not readable: No such file or directory
error: 'grub4dos-0.4.6a_20130521-1-x86_64.pkg.tar.xz': could not find or read package
Comment by Daniel YC Lin (dlin) - Friday, 07 June 2013, 06:35 GMT
Thanks, after review the --debug log, I know it is not backup because the original grub/menu.lst in old package with the same md5 with /grub/menu.lst. So, pacman treat it is not modified by me. And copy the new menu.lst from new package.

Please close this bug. It is not a bug, it is a feature.

Loading...