Hi,
> It's needed if you don't want to write over the network, meaning
> the NFS mount could be exported read-only
>
> Ok, in my case writing goes to tmpfs in RAM so there is no need <union
> ro="/read-only" rw="tmpfs" type="overlayfs"/> at all
Well it's needed to get both parts together that's what overlayfs is
good for. There is /read-only which is an NFS mount and there is /read-write
which is a tmpfs mount. In order to use that as _one_ root filesystem
you need to have another filesystem which combines them
> But I found some strange behavior for kernel-default when it is
> installed in image from 13.2-Oss repository version 3.16.6-2.1 it
> mounts overlay perfectly, but when sets Kernel-stable with
> kernel-default-4.1.6-2.1 mounting overlay fails
Well 4.1 should not take stable in its name :) fuse mounts are also
broken with this kernel and I guess there are more things which are
simply not working with this kernel. If the problem is not caused
by a changed semantic in mounting overlayfs you can report this to
the kernel people
Recently I fixed the following:
commit 87e53edf4cb97e0453d83ac7269bd111dcd1ab37
Author: Marcus Schäfer <
m...@suse.de>
Date: Sun Dec 7 14:27:44 2014 +0100
Follow up fix for overlayfs changes in kernel 3.18
overlayfs complains: upperdir and workdir must be in separate
subtrees. Thus we create workdir and upperdir in different
subdirs below read-write
I hope you are using a kiwi version >= v7.02.12, if not you are
suffering from that problem
> So I have another question: can I set repository for specific package?
no, the package manager no matter if it's yum, zypper or some other
takes all repos into account and calculates a resolution.
You can specify a full qualified name when using zypper as package manager
e.g
<package name="vim-7.4.461.hg.6253-1.5"/>
But I don't recommend doing that. It's better to control the repos
and setup your own private repo set instead of fiddling with names