From: Alexander Bokovoy <a.bokovoy@sam-solutions.net> To: devel@linux.iplabs.ru Subject: [devel] Minimal system: graph Date: Tue, 27 Nov 2001 13:46:54 +0200 Message-ID: <20011127114653.GG32411@pc152.belcaf.minsk.by> (raw) [-- Attachment #1: Type: text/plain, Size: 504 bytes --] Доброго времени суток! Для интересующихся прилагаются скрипт rpmdot для генерации исходного файла с описанием графа зависимостей пакетов, установленных в системе и пример такого графа для минимальной системы ALT Linux, состоящей из 89 пакетов (117Мб). -- / Alexander Bokovoy $ cat /proc/identity >~/.signature `Senior software developer and analyst for SaM-Solutions Ltd.` --- Nov 21 20:58:58 alconost kernel: VFS: Busy inodes after unmount. Self-destruct in 5 seconds. Have a nice day... [-- Attachment #2: rpmdep.dot.bz2 --] [-- Type: application/x-bzip2, Size: 1834 bytes --] [-- Attachment #3: rpmdep.ps.bz2 --] [-- Type: application/x-bzip2, Size: 23649 bytes --] [-- Attachment #4: rpmdot --] [-- Type: text/plain, Size: 619 bytes --] #!/bin/sh echo "digraph RPM { size=\"40,22\" page=\"8,12\" ratio=fill " rpmlist=$(rpm -qa --qf='[%{name}\n]') for i in $rpmlist ; do rpmdeplist=`(rpm -q --qf='[%{requirename}\n]' "$i"| grep -ve 'rpmlib\(.*\)'| xargs rpm -q --whatprovides |sort -u | xargs rpm -q --qf='%{name}\n'| while read package ; do if test "$i" != "$package" ; then rpm -q --qf='%{name}\n' "$package" fi done| sed -e 's/, $//') 2>/dev/null` iescape=$(echo "$i"|tr '/-' '__') echo "$iescape [fontsize=12, label=\"$i\"]" for j in $rpmdeplist ; do jescape=$(echo "$j"|tr '/-' '__') echo "$iescape -> $jescape;" done done echo "}"
next reply other threads:[~2001-11-27 11:46 UTC|newest] Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top 2001-11-27 11:46 Alexander Bokovoy [this message] 2001-11-27 13:22 ` Aleksey Novodvorsky 2001-11-27 14:11 ` Alexander Bokovoy 2001-11-27 14:33 ` Dmitry V. Levin 2001-11-27 14:36 ` Alexander Bokovoy
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20011127114653.GG32411@pc152.belcaf.minsk.by \ --to=a.bokovoy@sam-solutions.net \ --cc=devel@linux.iplabs.ru \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Team development discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \ devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru public-inbox-index devel Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.devel AGPL code for this site: git clone https://public-inbox.org/public-inbox.git