[aur-general] PKGBUILD 'backup' function won't work
I made a grub4dos-svn PKGBUILD. I want /etc/grub4dos.conf and /boot/grub/menu.lst be proper backup. But, I found it won't work. If my menu.lst exist, it won't appear menu.lst.pacnew. If I remove my package. It wont keep menu.lst.orig I wrote the following line on PKGBUILD. backup=(etc/grub4dos.conf boot/grub/menu.lst)
On Sun, Feb 20, 2011 at 9:54 PM, Daniel Lin <dlin.tw@gmail.com> wrote:
I made a grub4dos-svn PKGBUILD. I want /etc/grub4dos.conf and /boot/grub/menu.lst be proper backup. But, I found it won't work.
If my menu.lst exist, it won't appear menu.lst.pacnew. If I remove my package. It wont keep menu.lst.orig
I wrote the following line on PKGBUILD. backup=(etc/grub4dos.conf boot/grub/menu.lst)
Is /boot mounted readonly, or not mounted at all after init is done?
I let /boot mounted as r/w permission. ( if I set it unmount or read only. I won't successful upgrade.) This situation also happen on /etc/grub4dos.conf. So, I think it is not caused by mount problem. 2011/2/21 Gary Wright <wriggary@gmail.com>
On Sun, Feb 20, 2011 at 9:54 PM, Daniel Lin <dlin.tw@gmail.com> wrote:
I made a grub4dos-svn PKGBUILD. I want /etc/grub4dos.conf and /boot/grub/menu.lst be proper backup. But, I found it won't work.
If my menu.lst exist, it won't appear menu.lst.pacnew. If I remove my package. It wont keep menu.lst.orig
I wrote the following line on PKGBUILD. backup=(etc/grub4dos.conf boot/grub/menu.lst)
Is /boot mounted readonly, or not mounted at all after init is done?
On 02/21/2011 06:54 AM, Daniel Lin wrote:
I made a grub4dos-svn PKGBUILD. I want /etc/grub4dos.conf and /boot/grub/menu.lst be proper backup. But, I found it won't work.
If my menu.lst exist, it won't appear menu.lst.pacnew. If I remove my package. It wont keep menu.lst.orig
I wrote the following line on PKGBUILD. backup=(etc/grub4dos.conf boot/grub/menu.lst)
i suggest to read man pacman, HANDLING CONFIG FILES section. -- Ionuț
Thank you, after reading that section. I understood why there is no *.pacnew or *.pacorig. But, why pacman remove my config file which I've modified when I remove the package?(I assume it will keep a *.pacsave) I'm sure I don't add the --nosave option. 2011/2/21 Ionuț Bîru <ibiru@archlinux.org>
On 02/21/2011 06:54 AM, Daniel Lin wrote:
I made a grub4dos-svn PKGBUILD. I want /etc/grub4dos.conf and /boot/grub/menu.lst be proper backup. But, I found it won't work.
If my menu.lst exist, it won't appear menu.lst.pacnew. If I remove my package. It wont keep menu.lst.orig
I wrote the following line on PKGBUILD. backup=(etc/grub4dos.conf boot/grub/menu.lst)
i suggest to read man pacman, HANDLING CONFIG FILES section.
-- Ionuț
participants (3)
-
Daniel Lin
-
Gary Wright
-
Ionuț Bîru