Skip to contentSkip to conversation

mc fails to start with readonly rootfs

yocto Marek Belisko 1 participant 1 message Dec 19, 2019 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 17 lines · Marek Belisko via Lists.Yoctoproject.Org

Hi,

when enable readonly rootfs mc fails to start because cannot write to
directory: /home/root/.config/mc

I've created volatile-bindd to this directory (to be able to write something) and extend mc using below bbappend:

do_install_append () {
        install -d ${D}/home/root/.config/mc
}

FILES_${PN} += "/home/root/.config/mc/*"

But now I got QA issue:

Quoted 9 lines

ERROR: mc-4.8.22-r0 do_package: QA Issue: mc: Files/directories were installed but not shipped in any package:
/home
/home/root
/home/root/.config
/home/root/.config/mc
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.

QA issue is resolved by adding: FILES_${PN} += "/home/root/.config/mc/" Is this patch welcomed to upstream to overcome same problem?

Quoted 21 lines

Checked FILES_mc and path is there. Am I missing anything obvious? Thanks.

BR,

marek

--
as simple and primitive as possible
-------------------------------------------------
Marek Belisko - OPEN-NANDRA
Freelance Developer

Ruska Nova Ves 219 | Presov, 08005 Slovak Republic
Tel: +421 915 052 184
skype: marekwhite
twitter: #opennandra
web: http://open-nandra.com
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

Quoted 5 lines

View/Reply Online (#47771): https://lists.yoctoproject.org/g/yocto/message/47771
Mute This Topic: https://lists.yoctoproject.org/mt/68830517/900721
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

BR,

marek