Fixed
Created: Dec 14, 2016
Updated: Sep 8, 2018
Resolved Date: Dec 18, 2016
Found In Version: 7.0
Fix Version: 7.0.0.23
Severity: Standard
Applicable for: Wind River Linux 7
Component/s: Userspace
When using gpg command for the first time it creates a ~/.gnupg directory and populates it with some default files. Ones of these is options.skel but in the 1.4.7 version this file is missing.
Originally reported on 5.0.1 RCPL 35, this has also been reproduced on the latest RCPL (37).
Create a project:
$ configure --enable-board=intel-xeon-core \
--enable-rootfs=glibc_cgl --enable-kernel=cgl \
--enable-jobs=1 --enable-parallel-pkgbuilds=8 \
--enable-rm-work=yes --enable-rm-oldimgs=yes \
--enable-checkout-all-layers=yes --enable-reconfig \
--enable-ccache=yes --with-ccache-dir=/path/to/ccachedir \
--with-sstate-dir=/path/to/sstatedir --with-rcpl-version=0037
Select 1.4.7 as the preferred version by adding the following to local.conf:
PREFERRED_VERSION_gnupg = "1.4.7"
Build with "make fs" and run with "make start-target".
After logging in as usual, the following shows the issue:
root@qemu0:~# gpg --list-keys
gpg: directory `/root/.gnupg' created
gpg: can't open `/usr/share/gnupg/options.skel': No such file or directory
gpg: keyring `/root/.gnupg/pubring.gpg' created
gpg: /root/.gnupg/trustdb.gpg: trustdb created
root@qemu0:~#
The options.skel file is incorrectly placed in the doc rpm, it should be part of the main rpm for the pavckage to work correctly.