Skip to content

info: fix invoking info failed

Hongxu Jia openembedded-core 5 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest2 patches 0 repliesNew
  2. v44 patches 2 repliesSuperseded
  3. v34 patches 5 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v24 patches4 repliesSuperseded
v13 patches9 repliesSuperseded

Changes in v5 from the cover letter

- Remove bashism

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2scripts/postinst-intercepts: add update_info_dirscripts/postinst-intercepts/update_info_dir+77 -00 replies
2/2texinfo: fix info not workmeta/recipes-extended/texinfo/texinfo_5.2.bb+61 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v5 yet.

Read the v5 thread

Cover letter [PATCH V5 0/2] info: fix invoking info failed

Changed in V5:
- Remove bashism

Changed in V4:
- In info's postinst/prerm, check the existance of ${infodir}

- Remove x permission for scripts/postinst-intercepts/update_info_dir 'new file mode 100755'-->'new file mode 100644', rootfs.py use the x permission to decide whether the scripts in postinst-intercepts be invoked or not. Sounds weird, but it is the reason of Ross's build failure.

Changed in V3:
- Remove Debian-specific code
- split() the INHERIT variable

Changed in V2:
- Conditionally add 'gzip/bzip2/xz' to man/info's RDEPENDS rather than modify busybox's defconfig.

- Refer Ubuntu to add a script to postinst_intercept to run it after all packages have been installed at build time.

Test Case:

vim local.conf
..
IMAGE_INSTALL_append = " texinfo texinfo-doc info info-doc" INHERIT += "compress_doc"
DOC_COMPRESS = "xz" or DOC_COMPRESS = "bz2"
..

bitbake core-image-minimal

runqemu qemux86

On target,
...

root@qemux86:~# info info
...

//Hongxu

The following changes since commit 0172cded27d73437784fe1578110937aede563eb:

build-appliance-image: Update to dizzy head revision (2014-10-10 22:40:57 +0100)

are available in the git repository at:

git://git.pokylinux.org/poky-contrib hongxu/fix-info
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=hongxu/fix-info

Hongxu Jia (2):
scripts/postinst-intercepts: add update_info_dir
texinfo: fix info not work

 meta/recipes-extended/texinfo/texinfo_5.2.bb | 61 ++++++++++++++++++++++
 scripts/postinst-intercepts/update_info_dir  | 77 ++++++++++++++++++++++++++++
 2 files changed, 138 insertions(+)
 create mode 100644 scripts/postinst-intercepts/update_info_dir
Signature · 1 line
1.9.1