ALT Linux Bugzilla
– Attachment 1407 Details for
Bug 9164
В новом Сизифе не работает
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
quick install
qinstall (text/plain), 848 bytes, created by
Sergey Bolshakov
on 2006-02-26 17:41:31 MSK
(
hide
)
Description:
quick install
Filename:
MIME Type:
Creator:
Sergey Bolshakov
Created:
2006-02-26 17:41:31 MSK
Size:
848 bytes
patch
obsolete
>#!/bin/sh -x > >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/etc/rpm \ > $SANDROOTDIR/var/lib/{rpm,apt/lists/partial} \ > $SANDROOTDIR/var/cache/apt/archives/partial > >echo '%_dbapi 3' > $SANDROOTDIR/etc/rpm/macros.db1 > >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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 9164
:
1406
| 1407