On Tue, Jul 29, 2014 at 9:28 AM, Don Raikes <[email protected]> wrote:
> Yes that should do it, but how do I tell the live-build system to run that 
> command before it performs the squashfs portion of the build process?
> -----Original Message-----
> From: Baurzhan Muftakhidinov [mailto:[email protected]]
> Sent: Monday, July 28, 2014 7:17 PM
> To: Don Raikes
> Cc: [email protected]
> Subject: Re: want a live image that boots to console
>
> On Tue, Jul 29, 2014 at 7:32 AM, Don Raikes <[email protected]> wrote:
>> Hello,
>>
>>
>>
>> I do a majority of my linux work from the console, and would like ot have a
>> live image that automatically boots to the console. I would also like ot be
>> able to launch gdm3 if I have a need for it, but mostly I just need a
>> console-based system.
>>
>>
>>
>> I found a script that should do the trick (it modifies the
>> /etc/x11/default-display-manager to be empty and does some other fun stuff),
>> but when I put it into the hooks folder I get an error saying it can’t find
>> the files to modify because they are already in the squashed filesystem.
>>
>>
>>
>> Is there a good way to make changes like this?  Should I just put the
>> modified files into the config/includes.binary sub-folder?
>>
>>
>>
>> Any tips would be appreciated.
>
> Should "update-rc.d -f gdm3 remove" do the trick? I mean, just remove gdm3 
> from
> the list of auto-started daemons,
>
> Regards,
>
>
> --
> To UNSUBSCRIBE, email to [email protected]
> with a subject of "unsubscribe". Trouble? Contact [email protected]
> Archive: 
> https://lists.debian.org/[email protected]
>

How is you hook file named? It should be something like disable-gdm3.hook.chroot

See my configs https://github.com/crayxt/kazsid/tree/master/config/hooks


--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: 
https://lists.debian.org/cafp4thsdqhih_zbnoiwdxaz49ntsczobznrd_zrs1mdkpzz...@mail.gmail.com

Reply via email to