tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Making syspkgs and makefs play nice together

Hi all,
I want to be able to build filesystems from syspkgs/pkgsrc format packages and there are a few things that need to be ironed out before this can happen.

I want to add an unprivileged mode to pkg_add that will probably be enabled automatically if you aren't running it as root. In this mode it will not try and set any file permissions.

I also want to eliminate all @exec PLIST commands from syspkgs. syspkgs only uses them for creating file system objects that the PLIST can't otherwise describe (probably). This really isn't the right way to do it, and in general it won't work for me. I think I can eliminate them all by back-porting/pulling-up the implementation of the @pkgdir PLIST command.

I can then write an AWK program to convert a package's PLIST into an mtree specification for makefs.

Comments anyone?


Home | Main Index | Thread Index | Old Index