| Submitter | Scott Garman |
|---|---|
| Date | June 28, 2011, 10:36 p.m. |
| Message ID | <cover.1309300395.git.scott.a.garman@intel.com> |
| Download | mbox |
| Permalink | /patch/6627/ |
| State | New, archived |
| Headers | show |
Pull-request
git://git.pokylinux.org/poky-contrib sgarman/mkdir-p-fixComments
On 06/28/2011 03:36 PM, Scott Garman wrote: > Pseudo was recently changed so that when system() calls are made > after a chroot(), the host binaries can no longer be found, breaking > the system("mkdir -p") approach when useradd creates home directories. > > Instead, use mkdir(2) to create home directories with a helper > function to ensure parent directories get created. > > This is a prerequisite fix needed for my useradd.bbclass changes > (still pending until I address some of Richard's comments from this > morning). > > The following changes since commit a4f3e006e1f2fd93f156012af2a05adccf41d065: > > u-boot-mkimage: bump version to 2011.03 (2011-06-28 17:13:19 +0100) > > are available in the git repository at: > git://git.pokylinux.org/poky-contrib sgarman/mkdir-p-fix > http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=sgarman/mkdir-p-fix > > Scott Garman (1): > shadow-native: fix creation of home directories > > .../shadow/files/add_root_cmd_options.patch | 125 +++++++++++++++---- > 1 files changed, 98 insertions(+), 27 deletions(-) > > > _______________________________________________ > Openembedded-core mailing list > Openembedded-core@lists.openembedded.org > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core > Merged into OE-Core Thanks Sau!
Pseudo was recently changed so that when system() calls are made after a chroot(), the host binaries can no longer be found, breaking the system("mkdir -p") approach when useradd creates home directories. Instead, use mkdir(2) to create home directories with a helper function to ensure parent directories get created. This is a prerequisite fix needed for my useradd.bbclass changes (still pending until I address some of Richard's comments from this morning). The following changes since commit a4f3e006e1f2fd93f156012af2a05adccf41d065: u-boot-mkimage: bump version to 2011.03 (2011-06-28 17:13:19 +0100) are available in the git repository at: git://git.pokylinux.org/poky-contrib sgarman/mkdir-p-fix http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=sgarman/mkdir-p-fix Scott Garman (1): shadow-native: fix creation of home directories .../shadow/files/add_root_cmd_options.patch | 125 +++++++++++++++---- 1 files changed, 98 insertions(+), 27 deletions(-)