Thanks Vijay. On Tue, Dec 11, 2012 at 12:53 PM, Vijay Zanvar <[email protected]> wrote: > Refer: https://lists.tizen.org/pipermail/general/2012-November/001251.html
This helped me in getting su privileges in chroot env. This is how my /etc/passwd file now looks: abuild:x:1002:1002:Autobuild:/home/abuild:/bin/bash root:x:0:0:root:/root:/bin/bash Also, I was able to install zypper using --extra-packs option. But, When I do "zypper -ar <url>", it couldn't find .repo file at the specified URL. ""If only one argument is used, it must be a URI pointing to a .repo file."" I also checked the <url> and .repo file is not there. <url> = http://download.tizen.org/releases/daily/2.0alpha/common/latest/repos/tizen-base/armv7l/packages/armv7l/ Did you find a way to "ar" using zypper as well? or using --extra-packs for the time being? @njoon.park: The documentation page at https://source.tizen.org/documentation/reference/git-build-system/usage/gbs-chroot is not editable by the community (please correct me if I am wrong). Information e.g. in this thread: https://lists.tizen.org/pipermail/general/2012-November/001251.html needs to be merged on the docs page. Let us know how to improve upon the documentation. > > Best, > Vijay Zanvar > > > On Tue, Dec 11, 2012 at 12:41 PM, Gaurav Kalra <[email protected]> wrote: >> >> Hi. >> >> >> https://source.tizen.org/documentation/reference/git-build-system/usage/gbs-chroot >> >> says: >> To "Chroot as 'root' user", >> $ gbs chroot -r ~/GBS-ROOT/local/scratch.i586.0/ >> >> On my system, >> $ gbs chroot -r /home/<username>/GBS-ROOT/local/scratch.armv7l.0/ >> >> info: chroot /home/<username>/GBS-ROOT/local/scratch.armv7l.0 >> /bin/su: user root does not exist >> >> Also, >> (tizen-build-env)@<username>-ubuntu /]$ uname -a >> Linux <username>-ubuntu 3.0.0-28-generic-pae #45-Ubuntu SMP Wed Nov 14 >> 21:58:38 UTC 2012 armv7l armv7l armv7l GNU/Linux >> >> How do I create a "root user" in chroot env? >> >> What I want to achieve is install few packages in the chroot env..... >> >> Regards >> -- >> Gaurav Kalra >> Mobile: +91-9916-18-99-66 >> Facebook: /gauravkalra >> Twitter: @gvkalra >> _______________________________________________ >> General mailing list >> [email protected] >> https://lists.tizen.org/listinfo/general > > _______________________________________________ General mailing list [email protected] https://lists.tizen.org/listinfo/general
