This first patch fixes the --root option for programs in shadow-native and allow one to specify useradd long options when using the useradd class in a recipe.
This is demonstrated in the second patch which is a respin of another patch for the OpenSSH recipe I proposed earlier. As suggested by Saul, it had been reworked to use useradd long options in the USERADD_PARAM variable. v2: Fixed a typo in add_root_cmd_options.patch, --root is equivalent to -Q instead of -R. NOTE: Phil's patch "shadow: add patch for useradd lossage" doesn't fix the long options issue as it has been suggested in an answer to one of my initial post. Julian Pidancet (2): Fix the --root option in shadow-native programs. Use useradd and update-rc.d classes in the OpenSSH recipe meta/recipes-connectivity/openssh/openssh_5.8p2.bb | 29 +--- .../shadow/files/add_root_cmd_options.patch | 180 ++++++++++---------- 2 files changed, 97 insertions(+), 112 deletions(-) -- Julian Pidancet _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core