[Buildroot] how to add user to rootfs?

Peter Korsgaard jacmet at uclibc.org
Tue Mar 31 10:35:37 UTC 2009


>>>>> "Bernhard" == Bernhard Weirich <weirich at riedel.net> writes:

 Bernhard> Hello,

 Bernhard> I have added a new user to /etc/shadow and /etc/passwd but
 Bernhard> how do I tell genext2 that the directory /home/user does
 Bernhard> not belong to root?  There is some magic going on that
 Bernhard> /home/default is owned by "default" in the resulting rootfs
 Bernhard> but I have not understood how it works.  Can anyone help me
 Bernhard> on this?

It's done using the device_table.txt in target/generic. Have a look at
the /home/default line for the syntax.

-- 
Bye, Peter Korsgaard



More information about the buildroot mailing list