Sponsored Content
Operating Systems AIX How to avoid errors when moving files in a bff? Post 303042926 by zxmaus on Saturday 11th of January 2020 01:02:43 AM
Old 01-11-2020
you need to better explain what you are trying to actually do. Creating a package on AIX means that you define which part of your package goes into which directory - and all parts of your package need to be there. You can have a different installroot directory but you must define (create) it within the package itself. From how I understand you you want to move parts of the packages elsewhere as part of the installation? I don't understand why. You create the directory structure you want, you fill it with the content you want, you create a template file that tells the mkinstallp command what goes into the file, what version number it has and so on and afterwards you package.

Last edited by zxmaus; 01-11-2020 at 02:17 AM..
This User Gave Thanks to zxmaus For This Post:
 

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

avoid displaying errors while executing a script

Hi all, I am running a script on bash shell, although it gives me the desired output, it displays some errors at the prompt like this directory doesnt exists unary operator etc etc Is there someway to avoid these errors ?? Its very annoying to have these errors while the script is... (4 Replies)
Discussion started by: vikas027
4 Replies

2. Programming

What is the proper way to combine C++ files (with g++) to avoid link (ld) errors?

Problem background: gcc v 4.1 2 .cpp files, 2 .h files Files: main.cpp a.cpp a.h b.h Organization: main.cpp includes a.h (because it calls a.cpp code) a.cpp includes a.h a.h includes b.h (because a class in a.h uses a b.h class) There is no inheritance between a.h or b.h or any of... (1 Reply)
Discussion started by: johnqsmith
1 Replies

3. Shell Programming and Scripting

Avoid files being archived

hi all, i want to write a shell script which can automatically touch my all files within a folder in an interval of 90 days ...so that i can avoid them being archived. I don't want to manually touch the all files instead i want an automated shell script to do this. Thanks in advance, Om (3 Replies)
Discussion started by: koti
3 Replies

4. AIX

Creating/Installing a bff

I posted my question here regarding creating/installing a bff package to a directory of user's choice (instead of fixed one), still looking for an answer :o mklpp does not seem to handle this. (Can someone confirm?) Can the .toc file edited prior to installing the bff and modified so that the... (2 Replies)
Discussion started by: JStone
2 Replies

5. Shell Programming and Scripting

How to avoid duplication within 2 files?

Hi all, Actually 2 files are there - file1, file2. file1 contains ---> london mosco america russia mosco file2 contains --> europe india japan mosco england london Question is I want to print all the city names without duplication cities in those... (10 Replies)
Discussion started by: balan_mca
10 Replies

6. Solaris

Any way to avoid these errors?

Hello, this is solaris 10 on SF v440, I know below errors might go away if I put a new PS or put the original one back in socket but is there any other way to stop these errors from appearing in /var/adm/messages ? I do not want to put the failed PS1 in socket neither do we want to spend on... (5 Replies)
Discussion started by: upengan78
5 Replies

7. AIX

BFF to ISO conversion

Hi, I did a search but could not find this.I have some bff images of AIX 5.3 and VIOS as well on my windows laptop. I need to create their iso images so that I could load them onto the lpars. I cant ftp/scp etc these images to the box. I also cant copy them to CD and mount them on the AIX... (4 Replies)
Discussion started by: theaixeman
4 Replies

8. AIX

bff package

Guys, I wana know whats the package name for a .bff file Example: Whats the package name for the update file - U833703.bff ? is there a way to convert it back to regular format? (5 Replies)
Discussion started by: muzahed
5 Replies

9. Shell Programming and Scripting

Avoid locking between two files:

Hi frnz, I have requirement as follows.. There are two Modules say A and B...n both have few set of files..we have one script which read these files and load into database(vertica) table..while running script smtimes i encounter an error like one table is getting loaded from A module file... (7 Replies)
Discussion started by: gnnsprapa
7 Replies
pkgask(1M)                                                                                                                              pkgask(1M)

NAME
pkgask - stores answers to a request script SYNOPSIS
pkgask [-d device] [-R root_path] -r response pkginst... pkgask allows the administrator to store answers to an interactive package (one with a request script, that is, a user-created file that must be named request). Invoking this command generates a response file that is then used as input at installation time. The use of this response file prevents any interaction from occurring during installation since the file already contains all of the information the pack- age needs. The following options are supported -d device Run the request script for a package on device. device can be a directory pathname or the identifiers for tape, floppy disk or removable disk (for example, /var/tmp, /dev/diskette, and /dev/dsk/c1d0s0). The default device is the installation spool directory. -R root_path Define the full path name of a directory to use as the root_path. All files, including package system information files, are relocated to a directory tree starting in the specified root_path. Note - The root file system of any non-global zones must not be referenced with the -R option. Doing so might damage the global zone's file system, might compromise the security of the global zone, and might damage the non-global zone's file system. See zones(5). -r response Identify a file or directory which should be created to contain the responses to interaction with the package. The name must be a full pathname. The file, or directory of files, can later be used as input to the pkgadd(1M) command. The following operands are supported: pkginst Specify the package instance, or list of instances for which request scripts will be created. The token all may be used to refer to all packages available on the source medium. 0 Successful completion. >0 An error occurred. See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ pkginfo(1), pkgmk(1), pkgparam(1), pkgproto(1), pkgtrans(1), installf(1M), pkgadd(1M), pkgchk(1M), pkgrm(1M), removef(1M), admin(4),attributes(5) The -r option can be used to indicate a directory name as well as a filename. The directory name is used to create numerous response files, each sharing the name of the package with which it should be associated. This would be used, for example, when you will be adding multiple interactive packages with one invocation of pkgadd(1M). Each package would need a response file. To create multiple response files with the same name as the package instance, name the directory in which the files should be created and supply multiple instance names with the pkgask command. When installing the packages, you will be able to identify this directory to the pkgadd(1M) command. If the default admin file is too restrictive, the administration file may need to be modified to allow for total non-interaction during a package installation. Seeadmin(4) for details. 6 Apr 2005 pkgask(1M)
All times are GMT -4. The time now is 07:45 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy