Sponsored Content
Operating Systems Solaris SysV package creation, how to predefine DESTDIR Post 302770258 by ./hari.sh on Friday 15th of February 2013 03:35:02 AM
Old 02-15-2013
SysV package creation, how to predefine DESTDIR

Hi Solaris experts
How to predefine the DESTDIR in a Solaris package?
Thanks
 

7 More Discussions You Might Find Interesting

1. Programming

mutexing with sysv calls

My question is: what's the best way to implement mutual exclusion for a shared memory segment. I want to ensure that while updating a shared memory segment that another process will not get read part of the segment before and the other part after the update. (I also want to ensure that the update... (3 Replies)
Discussion started by: otheus
3 Replies

2. AIX

mkinstallp package creation failing "no such file: ./usr/lpp/<package name>/inst_root"

Hello, I'm trying to build a (bff) package from an already installed program (clam antivirus) using mkinstallp. However, mkinstallp fails with "no such file: ./usr/lpp/<package name>/inst_root" I'm not sure why all files get created ok except for these particular ones. Any help would be... (2 Replies)
Discussion started by: omonte
2 Replies

3. Shell Programming and Scripting

insert predefine text in front and on a loop

Hi Experts, I wish to insert predefined text in front of every line and this needs to be in a loop because it is always expanding. Before : 11111111 22222222 33333333 44444444 55555555 77777777 88888888 00000000 To be Inserted : a= b= (2 Replies)
Discussion started by: masayangbata
2 Replies

4. UNIX for Advanced & Expert Users

How to find dependancies of .dstream package (Solaris) & .rpm package( linux)

Friends, Please let meknow, How we can find the dependancies of .dstream package & .rpm package before installation ? For AIX, We can use the inutoc . command to create the .toc file for the bff package, What about Solaris & Linux ? (0 Replies)
Discussion started by: yb4779
0 Replies

5. Solaris

Solaris10 Package Creation with variable

Dear All, I am trying to build a solaris package with a variable, so that it can be installed with an environment. The prototype file contains the variables for user and group that can be parameterised during the package installation. The following is the prototype file and the error when ... (2 Replies)
Discussion started by: sanchan
2 Replies

6. Solaris

Package creation problems with Source files

Hi, I am creating "LSOF" solaris package from solaris "source" files. I have compiled the source file and with that i created prototype file also. Then using pkgmk command i can make the package . In the package i am having (pkginfo pkgmap reloc) two file and one directory respectively But... (3 Replies)
Discussion started by: Kathirvel G
3 Replies

7. SCO

Trouble with sysv floppy images created under Linux

Hello, I wonder if anybody could help. I'm running SCO Xenix under Qemu on Xubuntu 16.04. I created a SYSV floppy image, but the files on it are poorly displayed when I mounted it under Xenix. I tried to create and format this image under Ubuntu as well as under Xenix. How could I create a... (6 Replies)
Discussion started by: Neelix
6 Replies
patchmedia(1M)						  System Administration Commands					    patchmedia(1M)

NAME
patchmedia - modify Solaris media with patches and packages SYNOPSIS
/usr/bin/patchmedia -d media-root [-v] [-o iso] [-l label] pkg_or_patch [pkg_or_patch ...] DESCRIPTION
The patchmedia utility takes a list of patches and packages as input and updates the install miniroot in media-root (the root directory of an on-disk image of a Solaris installation media) to include the specified patches and packages. These patches and packages are also placed in a subdirectory called DU under the Solaris install image. For example: media-root/Solaris_10/DU When booting a system from the updated media, the patches and packages will be part of the booted Solaris image. They will also be applied to the target system being installed at the end of the installation process. If -o is specified, a bootable ISO image is created in the file media.iso that contains the Solaris install media. The ISO image can then be burned onto a CD/DVD with utilities such as cdrw(1) or cdrecord(1). (The latter is not a SunOS man page.) OPTIONS
The following options are supported: -d media-root Top-level directory of on-disk image of Solaris installation media. This is option must be specified. -o iso Create a Solaris ISO image of media-root. -l label Label/volume name of the ISO image (if -o option is specified). If -o is not specified, the name of Solaris directory under media-root, for example, Solaris_10, will be used. -v Verbose. Multiple -v options increase verbosity. OPERANDS
The following operands are supported: pkg_or_patch [pkg_or_patch ...] One or more patches or packages (you can have both patches and packages in a single command) with which the Solaris installation media media-root will be updated. EXAMPLES
Example 1 Updating a Solaris Install Image with Patch and Package The following command updates the Solaris install image in s10u1 by adding patch 123456-07 and package SUNWfoo. # /usr/bin/patchmedia -d s10u1 SUNWfoo 123456-07 ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ |Interface Stability |Committed | +-----------------------------+-----------------------------+ SEE ALSO
cdrw(1), mkcd(1M), attributes(5) mkisofs(8), (/usr/share/man/man8/mkisofs.8), in the SUNWfsman package (not a SunOS man page) SunOS 5.11 29 Jul 2008 patchmedia(1M)
All times are GMT -4. The time now is 03:11 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy