ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Sergey Bolshakov <s.bolshakov@sam-solutions.net>
To: community@altlinux.ru
Subject: Re: [Comm] Re[2]: [Comm] Re[2]: [Comm] [JT] Fwd: [News] Re: mandrake9 илиasp8.3
Date: 26 Nov 2002 14:06:59 +0200
Message-ID: <m3n0nwa61o.fsf@pc313.belcaf.minsk.by> (raw)
In-Reply-To: <Pine.LNX.4.33.0211261447160.21346-100000@ontil.ihep.su>

>>>>> "Vitaly" == Vitaly Lugovsky <vsl@ontil.ihep.su> writes:

 > On Tue, 26 Nov 2002, Leonid B. Sysoletin wrote:
 >> > > > > Ощущения, как Вы сами понимаете, вещь обманчивая. 20Мб мы не
 >> > > > > получим, а вот 60-80М есть уже сейчас.
 >> > > >  Хм... Гм... Очень интересно. А можно списочек пакетов на эти
 >> > > >  60-80Mb?  Попробую поиграть с этим делом...
 >> > > Насколько я в этом разбираюсь - достаточно basesytem + все, что он
 >> > > требует.
 >> >  Там как минимум apt-а нет...
 >>
 >> В _минимальную_ систему? А нафига ж?

 >  Мы об что говорим? Об минимальную систему, чтоб её потом ручками
 > расширять. А для ручками расширять нужен apt.

Типа так:
--- qinstall ----
#!/bin/sh

SANDROOTDIR="$1"
shift
PACKAGE="$@"
APTOPTS="-o Dir::State=$SANDROOTDIR/var/lib/apt -o Dir::Cache=$SANDROOTDIR/var/cache/apt -o RPM::RootDir=$SANDROOTDIR/"

[ -n "$SANDROOTDIR" -a "$SANDROOTDIR" != "/" ] || exit 1
[ -z "$PACKAGE" ] && PACKAGE='-f'
# populate 
mkdir -p $SANDROOTDIR/var/lib/{rpm,apt/lists/partial} \
	$SANDROOTDIR/var/cache/apt/archives/partial
rpm --initdb --dbpath $SANDROOTDIR/var/lib/rpm
    
# get packages 
files=`mktemp -q files.XXXXXX`
apt-get -y $APTOPTS update &> /dev/null
apt-get -qq --print-uris $APTOPTS install $PACKAGE |\
	sed s/\'file:// |cut -f1 -d\' |tr '\n' ' ' > $files
	
[ -s "$files" ] || exit 3
DURING_INSTALL=1 rpm -U --root=$SANDROOTDIR `cat $files` 2> qinstall.log
chroot $SANDROOTDIR ldconfig
rm -f $files
--- qinstall ----

# qinstall /var/tmp/foo basesystem apt
# du -sh /var/tmp/foo/
96M     /var/tmp/foo
# chroot /var/tmp/foo rpm -qa|sort
alt-gpgkeys-0.1-alt9
altlinux-release-Sisyphus-alt20021125
apt-0.3.19cnc55-alt9
apt-conf-sisyphus-1.5-alt1
basesystem-sisyphus-alt5
bash-2.05b-alt3
bootloader-utils-0.1-alt5
bzip2-1.0.2-alt6
bzlib-1.0.2-alt6
chkconfig-1.2.24-alt3
common-licenses-1.1-alt1
control-0.4-alt1
coreutils-4.5.3-alt1
dev-3.3.1-alt1
diffutils-2.8.1-alt3
e2fsprogs-1.32-alt1
etcskel-2.0.7-alt5
filesystem-2.1.6-alt8
findutils-4.1.7-alt6
gawk-3.1.1-alt4
gcc-common-1.1.4-alt1
genromfs-0.5.1-alt3
getopt-1.1.2-alt3
glib-1.2.10-alt6
glibc-core-2.2.6-alt0.6
gnupg-1.2.1-alt1
grep-2.5.1-alt0.2.cvs
gzip-1.3.3-alt3
hwclock-2.17-alt1
info-install-4.3-alt1
initscripts-5.49-ipl45mdk
kernel24-up-2.4.19-alt0.8
libacl-2.0.5-alt0.1cvs
libapt-0.3.19cnc55-alt9
libattr-2.0.5-alt0.1cvs
libbeecrypt-2.2.0-alt2
libdb2-2.4.14-alt2
libdb4-4.0.14-alt8
libe2fs-1.32-alt1
libgcc3.2-3.2.1-alt0.4
libgcc3.2-debug-3.2.1-alt0.4
libgpm-1.20.1-alt0.6rc1
libldap-2.0.27-alt3
libncurses-5.3.20021012-alt1
libpam-0.75-alt17
libpcre-3.9-alt3
libpopt-1.7-alt5
libreadline-4.3-alt2
librpm-4.0.4-alt11
libshhopt-1.1.7-alt1
libssl-0.9.6g-alt3
libstdc++3.2-3.2.1-alt0.4
libstdc++3.2-debug-3.2.1-alt0.4
libtcb-0.9.8.1-alt1
libtinfo-5.3.20021012-alt1
logrotate-3.6.2-alt2
losetup-2.11w-alt2
mkinitrd-2.8.4-alt2
mktemp-1.4-alt2
modutils-2.4.21-alt1
mount-2.11w-alt2
net-tools-1.60-alt4
nss_tcb-0.9.8.1-alt1
pam-0.75-alt17
pam-config-1.1.2-alt1
pam_passwdqc-0.7.1-alt1
pam_tcb-0.9.8.1-alt1
pam_userpass-0.5.1-alt1
perl-base-5.8.0-alt0.8.1
procps-2.0.10-alt2
psmisc-21.2-alt1
rootfiles-alt-alt8
rpm-4.0.4-alt11
sed-3.02-alt2
setup-2.2.0-alt3
sh-2.05b-alt3
shadow-convert-4.0.0-alt8
shadow-utils-4.0.0-alt8
SysVinit-2.84-alt4
tar-1.13.25-alt2
tcb-utils-0.9.8.1-alt1
terminfo-5.3.20021012-alt1
util-linux-2.11w-alt2
vim-minimal-6.1.178-alt11
which-2.14-alt2
zlib-1.1.4-alt2

-- 


  parent reply	other threads:[~2002-11-26 12:06 UTC|newest]

Thread overview: 63+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-25 14:32       ` [Comm] [JT] Fwd: [News] Re: mandrake9 или asp8.3 ASA
2002-11-25 14:43         ` aen
2002-11-25 14:51           ` [Comm] [JT] Fwd: [News] Re: mandrake9 илиasp8.3 Korshunov Ilya
2002-11-25 14:54             ` aen
2002-11-25 14:56               ` Korshunov Ilya
2002-11-25 15:00                 ` aen
2002-11-25 16:26               ` [Comm] Re[2]: " Mikhail Ramendik
2002-11-25 16:59                 ` Alexander Bokovoy
2002-11-25 19:10                   ` [Comm] Re[2]: " Maksim Otstavnov
2002-11-25 19:45                     ` Alexander Bokovoy
2002-11-25 20:07                       ` [Comm] Re[2]: " Maksim Otstavnov
2002-11-26  6:38                         ` Vitaly Lugovsky
2002-11-26  6:37                       ` Vitaly Lugovsky
2002-11-26  9:20                         ` Alexander Bokovoy
2002-11-26  9:31                           ` Vitaly Lugovsky
2002-11-26 10:15                             ` Alexander Bokovoy
2002-11-26 10:42                               ` Vitaly Lugovsky
2002-11-26 10:56                                 ` Alexey I. Froloff
2002-11-26 11:14                                   ` Vitaly Lugovsky
2002-11-26 11:16                                     ` Leonid B. Sysoletin
2002-11-26 11:47                                       ` Vitaly Lugovsky
2002-11-26 11:49                                         ` Leonid B. Sysoletin
2002-11-26 12:06                                         ` Sergey Bolshakov [this message]
2002-12-01  0:44                                           ` [Comm] Re: minimal basesystem Dmitry V. Levin
2002-11-26 11:19                                     ` [Comm] Re[2]: [Comm] Re[2]: [Comm] [JT] Fwd: [News] Re: mandrake9 илиasp8.3 Alexey I. Froloff
2002-11-26 11:46                                     ` Alexander Bokovoy
2002-11-26 12:01                                       ` Alexander Bokovoy
2002-12-01  0:49                                         ` [Comm] Re: minimal interactivesystem with apt Dmitry V. Levin
2002-11-26 11:45                                 ` [Comm] Re[2]: [Comm] Re[2]: [Comm] [JT] Fwd: [News] Re: mandrake9 илиasp8.3 Alexander Bokovoy
2002-11-26 12:07                                   ` Vitaly Lugovsky
2002-11-26 12:10                                     ` Alexander Bokovoy
2002-11-26 13:00                                       ` Vitaly Lugovsky
2002-11-26 12:11                                     ` Sergey Bolshakov
2002-12-01  0:52                                       ` [Comm] Re: minimal interactivesystem with apt Dmitry V. Levin
2002-11-26 12:14                                     ` [Comm] Re[2]: [Comm] Re[2]: [Comm] [JT] Fwd: [News] Re: mandrake9 илиasp8.3 Alexander Bokovoy
2002-11-26 12:18                                   ` [Comm] Re[2]: " ASA
2002-11-26 12:37                                     ` Alexander Bokovoy
2002-11-26 12:32                             ` Иван Евтухович
2002-11-26  6:35                     ` Vitaly Lugovsky
2002-11-26  8:34                       ` Andrey Orlov
2002-11-26  9:22                         ` Alexander Bokovoy
2002-11-26  0:38                   ` Mikhail Ramendik
2002-11-26  9:23                     ` Alexander Bokovoy
2002-11-27  7:38                       ` Andrew Vorobey
2002-11-27  9:39                         ` Alexander Bokovoy
2002-11-27 11:01               ` [Comm] средства конфигурации ALT (was Re: mandrake9 или asp8.3) Axel
2002-11-27 11:11                 ` aen
2002-11-27 13:04                   ` [Comm] " Axel
2002-11-27 13:59                     ` aen
2002-11-29  9:36                   ` [Comm] ÓÒÅÄÓÔ×Á ËÏÎÆÉÇÕÒÁÃÉÉ ALT (was Re: mandrake9 ÉÌÉ asp8.3) Ivan Bykov
2002-11-29 11:02                     ` [Comm] средства конфигурации ALT (was Re: mandrake9 или asp8.3) Igor Homyakov
2002-11-29 11:46                     ` [Comm] " Vitaly Lugovsky
2002-11-29 11:55                       ` Alexander Bokovoy
2002-11-29 12:06                       ` [Comm] Re: [Comm] средства конфигурации ALT (was Re: mandrake9или asp8.3) A.L. Klyutchenya
2002-11-25 15:00           ` [Comm] [JT] Fwd: [News] Re: mandrake9 или asp8.3 Шишков Евгений
2002-11-25 16:03             ` Vyacheslav Garonin
2002-11-25 16:15             ` Sergey S. Skulachenko
2002-11-25 18:54               ` [Comm] Re[2]: " Maksim Otstavnov
2002-11-25 19:43               ` Шишков Евгений
2002-11-26  8:29                 ` A.L. Klyutchenya
2002-11-26  8:21             ` A.L. Klyutchenya
2002-11-25 16:25           ` [Comm] Re[2]: " Mikhail Ramendik
2002-11-25 16:40             ` [Comm] " aen

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=m3n0nwa61o.fsf@pc313.belcaf.minsk.by \
    --to=s.bolshakov@sam-solutions.net \
    --cc=community@altlinux.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 Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git