安装环境和方法和lz一样,我也出现类似问题,总是解决不了,
I ran the command: sudo -S -l which returned:
Matching Defaults entries for yfzx on this host:
env_reset,
secure_path=/usr/local/sbin\:/usr/local/bin\:/usr/sbin\:/usr/bin\:/sbin\:/bin
User yfzx may run the following commands on this host:
(root) NOPASSWD: /bin/rpm, (root) /opt/freescale/ltib/usr/bin/rpm
(ALL : ALL) ALL
This means you don't have sudo permission to execute rpm commands as root
without a password. This is needed for this build script to operate correctly.
To configure this, as root using the command "/usr/sbin/visudo",
and add the following line in the User privilege section:
yfzx ALL = NOPASSWD: /usr/bin/rpm, /opt/freescale/ltib/usr/bin/rpm
traceback:
main::check_sudo_setup:2467
main::host_checks:1413
main:554
Started: Mon Jun 30 22:48:28 2014
Ended: Mon Jun 30 22:48:37 2014
Elapsed: 9 seconds
Build Failed
Exiting on error or interrupt
yfzx@ubuntu:/home/iMX6_linux3_3_0_35_4_1/L3.0.35_4.1.0/Linux/ltib$ sudo -S -l
Matching Defaults entries for yfzx on this host:
env_reset,
secure_path=/usr/local/sbin\:/usr/local/bin\:/usr/sbin\:/usr/bin\:/sbin\:/bin
User yfzx may run the following commands on this host:
(root) NOPASSWD: /bin/rpm, (root) /opt/freescale/ltib/usr/bin/rpm
(ALL : ALL) ALL
|