[lfs-dev] LFS-systemd - creating static /etc/resolv.conf

Bruce Dubbs bruce.dubbs at gmail.com
Thu Feb 26 19:53:21 PST 2015


Armin K. wrote:
> On 27.2.2015 4:30, DJ Lucas wrote:
>>
>> On 02/26/2015 08:01 PM, Armin K. wrote:
>>> On 27.2.2015 2:44, DJ Lucas wrote:
>>>> Armin, when creating /etc/resolv.conf, need to remove the existing
>>>> symlink first.
>>>>
>>>> -- DJ
>>>>
>>>
>>> It's rather one or other. If you want the static one, don't create the
>>> symlink.
>>
>> Shoot, sorry, it was a jhalfs run and I jumped to report as soon as I
>> had seen it, and then walked away. It should be protected by nodump.
>>
>> --DJ
>>
>
> I'm not really familiar with jhalfs, so feel free to fix it.

In the xml, just make the <screen> command:

<screen role="nodump"><userinput>...

That way jhalfs does not extract the command to the script.

   -- Bruce



More information about the lfs-dev mailing list