Pkgmk....question on prototype file


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Pkgmk....question on prototype file
# 1  
Old 09-13-2006
Pkgmk....question on prototype file

I've read the man page, but still unclear a bit....

I'm making some packages of files. My pkginfo file has a line BASEDIR=/base/path. I also have several prototype files (depending on the package), that either list the destination path as absolute:
f non /abs/path/to/go/here/file1
or are relative:
f none rel/path/to/go/here/file2

Is this assumption wrong?: if the absolute path is given then the basedir is ignored and the abs path is used, and if the relative path is given, then the basedir is pre-appended (sp?) before the relative path?

The pkgmk call in the make file is:
pkgmk -o -d /tmp -f Prototype



p.s. A side question....I not invoking -b or -r in pkgmk and my files are not in the same dir as the prototype file. Shouldn't this give me errors (according to the man page).

Thanks Smilie

Last edited by Yinzer955i; 09-13-2006 at 04:27 PM..
 
Login or Register to Ask a Question

Previous Thread | Next Thread

6 More Discussions You Might Find Interesting

1. What is on Your Mind?

Major Changes in New UserCP (v0.63) Prototype

Regarding the latest version of the UserCP prototype (version 0.63) I have made a lot of major changes, including Added a "Posts Timeline" table for the recent posts, complimenting the non-table version earlier, which has been moved off the main menu (link at the bottom of the table). Added a... (4 Replies)
Discussion started by: Neo
4 Replies

2. What is on Your Mind?

UserCP Prototype v0.53 Quick Search in Navbar

FYI. In version 0.53 of the new UserCP I am working on, the top navbar search works; but I'm still displaying the results in the main forums. I in the future, I may being to change this to display the results in the new UserCP. https://www.unix.com/members/1-albums225-picture1118.png (2 Replies)
Discussion started by: Neo
2 Replies

3. What is on Your Mind?

My Charts in the Prototype Vue.js UserCP

Yea.... something I thought would take me an hour ended up taking most of the day. Well, it's not like those YT video tutorials where it take a week or more to make a video and the guys (gals) make it look so easy. But having said that, I'm happy to share with forum members the first "My... (6 Replies)
Discussion started by: Neo
6 Replies

4. Shell Programming and Scripting

Function prototype declaration

Hi All, I have the script as below #!bin/bash let k=9 if then echo "Start" Hello echo "End" else echo "failed" fi function Hello() { echo "hello !!!!" } I got the below error : (4 Replies)
Discussion started by: Balasankar
4 Replies

5. Solaris

Error with pkgmk command

Hi guys I need some help with the following error # pkgmk -r 'pwd' ## Building pkgmap from package prototype file. ERROR in prototype: garbled entry - pathname: none - problem: extra tokens on input line pkgmk: ERROR: unable to build pkgmap from prototype file ##... (2 Replies)
Discussion started by: solaris_user
2 Replies

6. UNIX for Advanced & Expert Users

Solaris pkgmk -> prototype errors...

I'm attempting to create another package (i.e. for utilizing pkgadd/pkgrm/pkgchk/etc.) But after creating the prototype file, I noticed that some of my files begin with the '=' character. How do I get pkgmk to interpret the "/path/=file" as a single file, rather than interpreting it as... (7 Replies)
Discussion started by: mslightn
7 Replies
Login or Register to Ask a Question