[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: want a live image that boots to console



On Tue, Jul 29, 2014 at 9:28 AM, Don Raikes <DON.RAIKES@oracle.com> 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:baurthefirst@gmail.com]
> Sent: Monday, July 28, 2014 7:17 PM
> To: Don Raikes
> Cc: debian-live@lists.debian.org
> Subject: Re: want a live image that boots to console
>
> On Tue, Jul 29, 2014 at 7:32 AM, Don Raikes <DON.RAIKES@oracle.com> 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 debian-live-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> Archive: https://lists.debian.org/CAFp4thTQ7wt1=sxSYgM3-70f99xj7vwqEqFqV3ZENM=sfXQ@mail.gmail.com
>

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


Reply to: