X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=lxc.spec.in;h=7fcd811ff7e413f0f94453dc516813d86195c950;hb=b99495385ffb30bc89b8f74aef00a3f2e1b36e19;hp=87978feb26a43aa8b864198b5ea757786d46a47d;hpb=62f76cc0f6151b7dde2826cd3f83e3bcf30b9649;p=mirror_lxc.git diff --git a/lxc.spec.in b/lxc.spec.in index 87978feb2..7fcd811ff 100644 --- a/lxc.spec.in +++ b/lxc.spec.in @@ -91,6 +91,13 @@ BuildRequires: libseccomp-devel %endif %endif +# +# Additional package for Tizen +# +%if %{defined tizen_version} +BuildRequires: pkgconfig(dlog) +%endif + %description Containers are insulated areas inside a system, which have their own namespace for filesystem, network, PID, IPC, CPU and memory allocation and which can be @@ -145,6 +152,11 @@ fi %post # This test should trigger a network configure on a new install. +if [ ! -d @LXC_DISTRO_SYSCONF@ ] +then + mkdir -p @LXC_DISTRO_SYSCONF@ +fi + if [ ! -f @LXC_DISTRO_SYSCONF@/lxc-net ] || ! grep -q 'USE_LXC_BRIDGE=' @LXC_DISTRO_SYSCONF@/lxc-net then # Grab a random 10net subnet. Need to add test logic... @@ -244,6 +256,7 @@ fi %defattr(-,root,root) %{_sbindir}/* %{_libdir}/*.so.* +%{_libdir}/*.a %{_libdir}/%{name} %{_localstatedir}/* %{_libexecdir}/%{name}/hooks/unmount-namespace