Поиск по:uneex.mithril.cs.msu.su -
Поискать по всем серверам
На этой странице приведены все страницы сервера uneex.mithril.cs.msu.su ,которые мы индексируем. Показаны документы 4721 - 4740 из 5082.
Упорядочить по:
URL
|
дате изменения
4721. rpm -e and Config files
Maximum RPM: Taking the Red Hat Package Manager to the Limit . ... If you've made changes to a configuration file that was originally installed by RPM, your changes won't be lost if you erase the package. Say, for example, that we've made changes to /etc/skel/.bashrc (a config file), which was installed as part of the etcskel package. ... rpm -e etcskel # . ... ls -al total 5 drwxr-xr-x 3 root root 1024 Jun 17 22:01 . ... Not sure how to determine which files RPM thinks are config files? ...
[
Сохраненная копия
]
Ссылки http://uneex.mithril.cs.msu.su/static/MaximumRPMBook/max-rpm-html/s1-rpm-erase-and-config-files.html -- 4.5 Кб -- 26.09.2011
Похожие документы
Похожие документы
4722. Erasing a Package
... Using RPM to Erase Packages . ... rpm -evv eject D: uninstalling record number 286040 D: running preuninstall script (if any) D: removing files test = 0 D: /usr/man/man1/eject.1 - removing D: /usr/bin/eject - removing D: running postuninstall script (if any) D: removing database entry D: removing name index D: removing group index D: removing file index for /usr/bin/eject D: removing file index for /usr/man/man1/eject.1 # Although -v had no effect on RPM's output, -vv gave us a torrent of output. ...
[
Сохраненная копия
]
Ссылки http://uneex.mithril.cs.msu.su/static/MaximumRPMBook/max-rpm-html/s1-rpm-erase-erasing-package.html -- 7.0 Кб -- 26.09.2011
Похожие документы
Похожие документы
4723. Watch Out!
Maximum RPM: Taking the Red Hat Package Manager to the Limit . ... Chapter 3. Using RPM to Erase Packages . ... Bash: The Bourne-again Shell may not be the shell you use, but certain parts of many Linux systems (like the scripts executed during system startup and shutdown) use /bin/sh , which is a symbolic link to /bin/bash . ... However, if you're not sure, use rpm -q to get more information about the package you'd like to erase. ... See Chapter 5 for more information on rpm -q . ...
[
Сохраненная копия
]
Ссылки http://uneex.mithril.cs.msu.su/static/MaximumRPMBook/max-rpm-html/s1-rpm-erase-watch-out.html -- 4.8 Кб -- 26.09.2011
Похожие документы
Похожие документы
4724. Identifying RPM files with the file(1) command
... Appendix A. Format of the RPM File . ... The magic file on most UNIX-like systems today should have the necessary information to identify RPM files. ... RPM: file(1) magic for Red Hat Packages # 0 beshort 0xedab >2 beshort 0xeedb RPM >>4 byte x v%d >>6 beshort 0 bin >>6 beshort 1 src >>8 beshort 1 i386 >>8 beshort 2 Alpha >>8 beshort 3 Sparc >>8 beshort 4 MIPS >>8 beshort 5 PowerPC >>8 beshort 6 68000 >>8 beshort 7 SGI >>10 string x %s . ... file baz baz: RPM v3 bin i386 vlock-1.0-2 # . ...
[
Сохраненная копия
]
Ссылки http://uneex.mithril.cs.msu.su/static/MaximumRPMBook/max-rpm-html/s1-rpm-file-format-file-command.html -- 4.7 Кб -- 26.09.2011
Похожие документы
Похожие документы
4725. Conditionals
... The other approach is to somehow permit the conditional inclusion of architecture- or operating system-specific sections of the spec file. ... The %ifarch conditional is used to begin a section of the spec file that is architecture-specific. ... If a spec file contains a conditional block starting with %ifarch alpha , that block would be processed only if the build was being done on a Digital Alpha/AXP-based system. ... A %endif is used to end a conditional block of spec file statements. ...
[
Сохраненная копия
]
Ссылки http://uneex.mithril.cs.msu.su/static/MaximumRPMBook/max-rpm-html/s1-rpm-inside-conditionals.html -- 11.5 Кб -- 26.09.2011
Похожие документы
Похожие документы
4726. Directives For the %files list
... Inside the Spec File . ... The %files list may contain a number of different directives. ... any files in the %files list that RPM packages from /usr/blather will be included in the package as usual, but will also be automatically flagged as documentation. ... Our %files list contains no references to the several files the package installs in the /usr/blather directory. ... files ? ... and rebuilding the package, a listing of the package's files now includes only the /usr/blather directory: . ...
[
Сохраненная копия
]
Ссылки http://uneex.mithril.cs.msu.su/static/MaximumRPMBook/max-rpm-html/s1-rpm-inside-files-list-directives.html -- 26.5 Кб -- 26.09.2011
Похожие документы
Похожие документы
4727. The %files List
Maximum RPM: Taking the Red Hat Package Manager to the Limit . ... Chapter 13. ... The %files list indicates to RPM which files on the build system are to be packaged. ... For packages that create directories containing hundreds of files, it can be quite cumbersome creating a list that contains every file. To make this situation a bit easier, if the %files list contains a path to a directory, RPM will automatically package every file in that directory, as well as every file in each subdirectory. ...
[
Сохраненная копия
]
Ссылки http://uneex.mithril.cs.msu.su/static/MaximumRPMBook/max-rpm-html/s1-rpm-inside-files-list.html -- 4.6 Кб -- 26.09.2011
Похожие документы
Похожие документы
4728. Macros: Helpful Shorthand for Package Builders
... However, there are two parts of RPM's build process that are fairly constant from one package to another, and they are the unpacking and patching of sources. ... cd /usr/src/redhat/BUILD rm -rf cdplayer-1.0 gzip -dc /usr/src/redhat/SOURCES/cdplayer-1.0.tgz | ... patch . ... echo "Patch #0:" patch -p1 -s < /usr/src/redhat/SOURCES/patch-zero cd lib echo "Patch #1:" patch -p2 -s < /usr/src/redhat/SOURCES/patch-one cd .. echo "Patch #2:" patch -p1 -b .last-patch -s < /usr/src/redhat/SOURCES/patch-two . ...
[
Сохраненная копия
]
Ссылки http://uneex.mithril.cs.msu.su/static/MaximumRPMBook/max-rpm-html/s1-rpm-inside-macros.html -- 41.3 Кб -- 26.09.2011
Похожие документы
Похожие документы
4729. The Lone Directive: %package
... Inside the Spec File . ... Subpackages are named according to the contents of the line containing the %package directive. ... This string is appended to the base package name to produce the subpackage's name. For example, if a spec file contains a name tag value of " foonly ", and a " %package doc " line, then the subpackage name will be foonly-doc . ... Finally, the name string specified by the %package directive is also used to denote which parts of the spec file are a part of that subpackage. ...
[
Сохраненная копия
]
Ссылки http://uneex.mithril.cs.msu.su/static/MaximumRPMBook/max-rpm-html/s1-rpm-inside-package-directive.html -- 7.1 Кб -- 26.09.2011
Похожие документы
Похожие документы
4730. Scripts: RPM's Workhorse
... The scripts that RPM uses to control the build process are among the most varied and interesting parts of the spec file. Many spec files also contain scripts that perform a variety of tasks whenever the package is installed or erased. ... Using RPM's --test option [1] , we can see the common portion of each script. In the following example, we've taken the cdplayer package, issued an rpm -ba --test cdplayer-1.0-1.spec , and viewed the script files left in RPM's temporary directory. ...
[
Сохраненная копия
]
Ссылки http://uneex.mithril.cs.msu.su/static/MaximumRPMBook/max-rpm-html/s1-rpm-inside-scripts.html -- 28.4 Кб -- 26.09.2011
Похожие документы
Похожие документы
4731. Tags: Data Definitions
Maximum RPM: Taking the Red Hat Package Manager to the Limit . ... The <something> is known as a "tag", because it is used by RPM to name or tag some data. ... The following tags are used by RPM to produce the package's final name. ... The name tag is used to define the name of the software being packaged. ... The icon tag is used to name a file containing an icon representing the packaged software. ... The nosource tag is used to direct RPM to omit one or more source files from the source package. ...
[
Сохраненная копия
]
Ссылки http://uneex.mithril.cs.msu.su/static/MaximumRPMBook/max-rpm-html/s1-rpm-inside-tags.html -- 57.3 Кб -- 26.09.2011
Похожие документы
Похожие документы
4732. Additional options to rpm -i
... Fortunately, RPM has a wealth of install options to make the tough times a little easier. ... rpm -ivv eject-1.2-2.i386.rpm D: installing eject-1.2-2.i386.rpm Installing eject-1.2-2.i386.rpm D: package: eject-1.2-2 files test = 0 D: running preinstall script (if any) D: setting file owners and groups by name (not id) D: ///usr/bin/eject owned by root (0), group root (0) mode 755 D: ///usr/man/man1/eject.1 owned by root (0), group root (0) mode 644 D: running postinstall script (if any) # . ...
[
Сохраненная копия
]
Ссылки http://uneex.mithril.cs.msu.su/static/MaximumRPMBook/max-rpm-html/s1-rpm-install-additional-options.html -- 58.2 Кб -- 26.09.2011
Похожие документы
Похожие документы
4733. Two handy options
Maximum RPM: Taking the Red Hat Package Manager to the Limit . ... Using RPM to Install Packages . ... There are two options to rpm -i that work so well, and are so useful, you might think they should be RPM's default behavior. ... rpm -iv eject-1.2-2.i386.rpm Installing eject-1.2-2.i386.rpm # . ... Using -v is a good idea, particularly if you're going to use a single command to install more than one package: . ... If you add -h , RPM will print fifty hash marks (" # ") as the install proceeds: . ...
[
Сохраненная копия
]
Ссылки http://uneex.mithril.cs.msu.su/static/MaximumRPMBook/max-rpm-html/s1-rpm-install-handy-options.html -- 6.4 Кб -- 26.09.2011
Похожие документы
Похожие документы
4734. Performing an Install
Maximum RPM: Taking the Red Hat Package Manager to the Limit . ... The only thing necessary is to give the command ( rpm -i ) followed by the name of the package file: . ... In this case, we changed the name of the package file eject-1.2-2.i386.rpm to baz.txt and then proceeded to install the package. ... ftp://ftp.redhat.com/pub/redhat/code/rpm/rpm-2.3-1.i386.rpm . ... In the example above, RPM found a file ( /etc/cdp-config ) that didn't belong to any RPM-installed package. ...
[
Сохраненная копия
]
Ссылки http://uneex.mithril.cs.msu.su/static/MaximumRPMBook/max-rpm-html/s1-rpm-install-performing-install.html -- 11.4 Кб -- 26.09.2011
Похожие документы
Похожие документы
4735. Using rpm2cpio
... As the name implies, rpm2cpio takes an RPM package file and converts it to a cpio archive. ... rpm2cpio logrotate-1.0-1.i386.rpm 0707020001a86a000081a4000000000000000000000001313118bb000002c200000008000 000030000000000000000000000190000e73eusr/man/man8/logrotate.8." logrotate - log fi le rotator .TH rpm 8 "28 November 1995" "Red Hat Software" "Red Hat Linux" .SH NAME (We've just shown the first few lines of output.) ... cpio -t usr/man/man8/logrotate.8 usr/sbin/logrotate 14 blocks # . ...
[
Сохраненная копия
]
Ссылки http://uneex.mithril.cs.msu.su/static/MaximumRPMBook/max-rpm-html/s1-rpm-miscellania-rpm2cpio.html -- 12.4 Кб -- 26.09.2011
Похожие документы
Похожие документы
4736. Source Package Files and How To Use Them
... This package file contains not the executable, or "binary", files that a normal package contains, but rather the "source" files required to create those binaries. ... The source package contains everything needed to recreate not only the programs and associated files that are contained in the binary package file, but the binary and source package files themselves. ... Without making a long story too short, a spec file contains information used by RPM to create the binary and source packages. ...
[
Сохраненная копия
]
Ссылки http://uneex.mithril.cs.msu.su/static/MaximumRPMBook/max-rpm-html/s1-rpm-miscellania-srpms.html -- 12.8 Кб -- 26.09.2011
Похожие документы
Похожие документы
4737. Build and Install Platform Detection
... Building Packages for Multiple Architectures and Operating Systems . ... This is done by matching information from the build system's uname output against a number of rpmrc file entries. ... Specifically, these entries are used to create a table that maps information from uname to the appropriate architecture/operating system name. ... The --buildarch and --buildos options can be used to set the build-time architecture and operating system rather than relying on RPM's automatic detection...
[
Сохраненная копия
]
Ссылки http://uneex.mithril.cs.msu.su/static/MaximumRPMBook/max-rpm-html/s1-rpm-multi-build-install-detection.html -- 15.7 Кб -- 26.09.2011
Похожие документы
Похожие документы
4738. Hints and Kinks
... Building Packages for Multiple Architectures and Operating Systems . ... There isn't much in the way of hard and fast rules when it comes to multi-platform package building. But in general, the following uses of RPM's multi-platform capabilities seem to work the best: . The exclude xxx and exclusive xxx tags are best used when it's known there's no reason for the package to be built on specific architectures. ... Setting up platform-specific initialization prior to building the software. ...
[
Сохраненная копия
]
Ссылки http://uneex.mithril.cs.msu.su/static/MaximumRPMBook/max-rpm-html/s1-rpm-multi-hints-and-kinks.html -- 4.8 Кб -- 26.09.2011
Похожие документы
Похожие документы
4739. What Does RPM Do To Make Multi-Platform Packaging Easier?
... As we mentioned above, RPM supports multi-platform package building through a set of tags, rpmrc file entries, and conditionals. ... The first thing necessary for easy multi-platform package building is to identify which platform the package is to be built for. ... These tags make it easier for the package builder to build multiple packages automatically, since the tags will keep RPM from attempting to build packages that are incompatible with the build platform. ...
[
Сохраненная копия
]
Ссылки http://uneex.mithril.cs.msu.su/static/MaximumRPMBook/max-rpm-html/s1-rpm-multi-multi-platform-easier.html -- 6.1 Кб -- 26.09.2011
Похожие документы
Похожие документы
4740. optflags ? The Other rpmrc File Entry
... While the optflags entry doesn't play a part in determining the build or install platform, it does play a role in multi-platform package building. The optflags entry is used to define a standard set of options that can be used during the build process, specifically during compilation. ... For example, assume the following optflags entries were placed in an rpmrc file: . ... This entry sets the RPM_OPT_FLAGS environment variable, which can be used in the %prep , %build , and %install scripts. ...
[
Сохраненная копия
]
Ссылки http://uneex.mithril.cs.msu.su/static/MaximumRPMBook/max-rpm-html/s1-rpm-multi-optflags.html -- 4.9 Кб -- 26.09.2011
Похожие документы
Похожие документы