[arch-releng] aif options
Hi, I was trying to use the latest archiso 2012.02.29_04-00-01 and I am confused about the options of aif. I tried to start an installation with: aif -p automatic -c my_profile -d -l But it replied: ERROR: $5 is set to PROCEDURE ? We don't use $5, maybe you still need to update your code to the new api (all debug categories in $4) Apparently I should do "export DEBUG=1" before starting aif. But I still have to use the "-l" option to log to a file, which is not very consistent. However, the "-d" option still exists in the code of aif.sh. Should I use "-l" and "export DEBUG=1", is it the expected way to do it? Could you make that more consistent (option or export)? Thanks Charles
On Fri, 02 Mar 2012 14:22:10 +0100 Charles <ce@vejnar.org> wrote:
Hi,
I was trying to use the latest archiso 2012.02.29_04-00-01 and I am confused about the options of aif.
I tried to start an installation with: aif -p automatic -c my_profile -d -l
But it replied: ERROR: $5 is set to PROCEDURE ? We don't use $5, maybe you still need to update your code to the new api (all debug categories in $4)
Apparently I should do "export DEBUG=1" before starting aif. But I still have to use the "-l" option to log to a file, which is not very consistent. However, the "-d" option still exists in the code of aif.sh.
Should I use "-l" and "export DEBUG=1", is it the expected way to do it? Could you make that more consistent (option or export)?
Thanks
Charles
IIRC this has to do with an api update of libui-sh which now expects different args for libui_init (or whatever that function was called). normally if you have both the latest aif and libui-sh this shouldn't be an issue, as i think i updated them at the same time.
Le 02/03/2012 14:36, Dieter Plaetinck a écrit :
On Fri, 02 Mar 2012 14:22:10 +0100 Charles<ce@vejnar.org> wrote:
Hi,
I was trying to use the latest archiso 2012.02.29_04-00-01 and I am confused about the options of aif.
I tried to start an installation with: aif -p automatic -c my_profile -d -l
But it replied: ERROR: $5 is set to PROCEDURE ? We don't use $5, maybe you still need to update your code to the new api (all debug categories in $4)
Apparently I should do "export DEBUG=1" before starting aif. But I still have to use the "-l" option to log to a file, which is not very consistent. However, the "-d" option still exists in the code of aif.sh.
Should I use "-l" and "export DEBUG=1", is it the expected way to do it? Could you make that more consistent (option or export)?
Thanks
Charles
IIRC this has to do with an api update of libui-sh which now expects different args for libui_init (or whatever that function was called). normally if you have both the latest aif and libui-sh this shouldn't be an issue, as i think i updated them at the same time.
Hi Dieter, Well I suppose archiso 2012.02.29_04-00-01 contains the latest for both. You are saying I should be able to use "-d -l" options. So something is not working properly. If you could please have a look, it would be nice. Thanks Charles
participants (2)
-
Charles
-
Dieter Plaetinck