Modified inittab.c to use "/dev/console" as preferred console if exists.
Signed-off-by: Gaurav Pathak
---
Edited inittab.c to check and use "/dev/console" as the first
console device before parsing "/sys/class/tty/console/active".
inittab.c | 8 +++-
1 fi
inittab.c: Use "/dev/console" character device (5,1) if it
is present, before trying "/sys/class/tty/console/active" in
case if console kernel command line is not provided during boot
and to allow container environment to use it as login PTY console.
Signed-off-by: Gaurav Pa
(5,1) and use it if it is present before trying
"/sys/class/tty/console/active".
On Sat, Apr 24, 2021 at 02:54:26PM +0100, Daniel Golle wrote:
> On Sat, Apr 24, 2021 at 03:39:51AM -1000, Paul Spooren wrote:
> >
> > On 4/24/21 1:01 AM, Gaurav Pathak wrote:
> > &g
Use "/dev/console" device node if it is present, before trying
"/sys/class/tty/console/active" in case if console kernel command line
is not provided during boot and to allow container environment to use
it as login PTY console.
Signed-off-by: Gaurav Pathak
Signed-
inittab.c: Use "/dev/console" if it is present, before trying
"/sys/class/tty/console/active" in case if console kernel command
line is not provided during boot and to allow container environment
to use it as login PTY console.
Signed-off-by: Gaurav Pathak
---
inittab
I have merged the detection of /pantavisor into the is_container()
function.
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Modified container.h to detect the pantavisor container platform,
as it runs a custom modified version of LXC. container.h is modified
to check if procd is running in a pantavisor container environment by
detecting the presence of pantavisor directory under /.
Signed-off-by: Gaurav Pathak
Hi John,
I missed your message, seems like it didn't land in inbox or spam folder of my
e-mail.
> as it runs a custom modified version
> of LXC
> I assume that if this is a custom downstream version then the change
is
> not applicable for merge into upstream owrt. please
On Mon, Mar 22, 2021 at 10:42:25AM +, Daniel Golle wrote:
> On Mon, Mar 22, 2021 at 03:38:25PM +0530, Gaurav Pathak wrote:
> > Hi John,
> >
> > I missed your message, seems like it didn't land in inbox or spam folder of
> > my e-mail.
> >
> > &
On Mon, Mar 22, 2021 at 11:53:35AM +, Daniel Golle wrote:
> On Mon, Mar 22, 2021 at 05:00:06PM +0530, Gaurav Pathak wrote:
> > On Mon, Mar 22, 2021 at 10:42:25AM +, Daniel Golle wrote:
> > > On Mon, Mar 22, 2021 at 03:38:25PM +0530, Gaurav Pathak wrote:
> >
in a pantavisor container environment.
Signed-off-by: Gaurav Pathak
---
initd/early.c | 5 -
initd/zram.c| 3 ++-
plug/coldplug.c | 3 ++-
pv_platform.h | 37 +
state.c | 3 ++-
5 files changed, 47 insertions(+), 4 deletions(-)
create
11 matches
Mail list logo