Date: Tue, 17 Jun 2014 16:46:05 -0700 From: Sean Fagan <sef@ixsystems.com> To: freebsd-pkg@freebsd.org Subject: Directories aren't included? Message-ID: <44A7EDED-DA81-4C03-91F4-8BEF3241FE1F@ixsystems.com>
next in thread | raw e-mail | index | archive | help
Given this manifest file:
{
"name" : "mypkg",
"version" : "1.0",
"origin" : "system/test",
"comment" : "foo",
"maintainer" : "me",
"prefix" : "/",
"www" : "http://www.example.com/",
"licenselogic" : "single",
"desc" : "bar",
"dirs" : {
"./dir1",
"./dir1/dir2",
},
"files" : {
"./dir1/test_file" : "-",
},
}
and this layout:
dir1
./dir1:
dir2 test_file
./dir1/dir2:
The tar file it creates does not have "dir2" in it:
tar tvf badpkg-1.0.txz
-rw-r--r-- 0 root wheel 214 Dec 31 1969 +COMPACT_MANIFEST
-rw-r--r-- 0 root wheel 310 Dec 31 1969 +MANIFEST
-rw-r--r-- 0 sef sef 29 Jun 17 16:17 ./dir1/test_file
In other words, it is not adding empty directories to the package.
Am I creating it incorrectly?
If I put "./dir2" in the "files" section, it puts it in the tarball, but I'm not sure that is correct.
This is pkg 1.2.7_2; I have't tried with a newer version yet, for which I apologise.
Sean.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44A7EDED-DA81-4C03-91F4-8BEF3241FE1F>
