[TINF-1406] gbs chroot does not load "/etc/profile" 86/71786/1 accepted/tizen_3.0.m2_base accepted/tizen_3.0_base tizen_3.0 tizen_3.0.m2_base tizen_3.0_base accepted/tizen/3.0.m2/base/20170104.082122 accepted/tizen/3.0/base/20161028.103430 accepted/tizen/4.0/base/20170811.093058 accepted/tizen/4.0/base/20170828.221400 accepted/tizen/base/20160602.023934 submit/tizen_3.0.m2_base/20170104.072059 submit/tizen_3.0.m2_base/20170104.073748 submit/tizen_3.0_base/20161028.062326 submit/tizen_4.0_base/20170811.071500 submit/tizen_4.0_base/20170828.000000 submit/tizen_4.0_base/20170828.000001 submit/tizen_base/20160530.044056 tizen_4.0.m1_release
authorDongHun Kwak <dh0128.kwak@samsung.com>
Fri, 27 May 2016 05:57:16 +0000 (14:57 +0900)
committerDongHun Kwak <dh0128.kwak@samsung.com>
Fri, 27 May 2016 05:57:16 +0000 (14:57 +0900)
[Model] ALL
[BinType] AP
[Customer] OPEN

[Issue#] N/A
[Request] N/A
[Occurrence Version] N/A

[Problem] gbs chroot does not load "/etc/profile"
[Cause & Measure] Defined NON_INTERACTIVE_LOGIN_SHELLS flag
[Checking Method]
sudo vim path_to_buildroot/scratch.armv7l.0/etc/profile
At the end append: export FOO=1
sudo chroot path_to_buildroot/scratch.armv7l.0/
su -c env - abuild
expected result:
It should prints: FOO=1

[Team] Open Source Management and Setting Part
[Developer] dh0128.kwak
[Solution company] Samsung
[Change Type] N/A

Change-Id: If3c557cb3bb1c47fbecb6989f27551e5ab872085
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
config-top.h

index 7a90b1615191b705fea2c25f6ecb393e95e86134..c7326a7a53e3f7d656b8a10a1a10641df0690a48 100644 (file)
@@ -80,7 +80,7 @@
 
 /* Define this to make non-interactive shells begun with argv[0][0] == '-'
    run the startup files when not in posix mode. */
-/* #define NON_INTERACTIVE_LOGIN_SHELLS */
+#define NON_INTERACTIVE_LOGIN_SHELLS
 
 /* Define this if you want bash to try to check whether it's being run by
    sshd and source the .bashrc if so (like the rshd behavior). */