[Nix-dev] Please explain grub installer

2014-02-04 Thread Sergey Mironov
Hi! I've got a troubles while trying to understand how does install-grub.pl works (maybe that is because I'm not skilled in perl). Here is what I am trying to figure out: grub.nix calls ./install-grub.pl with XML parameter list as an argument. https://github.com/NixOS/nixpkgs/blob/master/nixos/mo

Re: [Nix-dev] Please explain grub installer

2014-02-04 Thread Marc Weber
Excerpts from Sergey Mironov's message of Tue Feb 04 12:04:45 +0100 2014: > >From the perl side, ./install-grub.pl reads ARGV[0] and ARGV[1]. > ARGV[0] turns out to contain the path to XML. OK. And ARVG[1] contains > a mysterious config. AFAIK it should point to the folder with kernel, > initrd a

Re: [Nix-dev] Please explain grub installer

2014-02-04 Thread Eelco Dolstra
Hi, On 04/02/14 12:04, Sergey Mironov wrote: > Hi! I've got a troubles while trying to understand how does > install-grub.pl works (maybe that is because I'm not skilled in perl). > > Here is what I am trying to figure out: grub.nix calls > ./install-grub.pl with XML parameter list as an argumen

Re: [Nix-dev] Please explain grub installer

2014-02-04 Thread Sergey Mironov
Thanks, I understand now. 2014-02-04 Eelco Dolstra : > Hi, > > On 04/02/14 12:04, Sergey Mironov wrote: > >> Hi! I've got a troubles while trying to understand how does >> install-grub.pl works (maybe that is because I'm not skilled in perl). >> >> Here is what I am trying to figure out: grub.nix