понедельник, 15 ноября 2010 г.

HDX BD-1. Репозиторий на локальном диске

Обычно репозиторий размещается на сервере в интернете, но по желанию его можно разместить и на локальном диске.
В этом случае репозиторий будет доступен через встроенный в HDX BD-1 ftp сервер.
  1. Создать каталог, где будут размещаться пакеты репозитория # mkdir -p /HD_Media/hda3/sybhttpd/localhost.drives/HARD_DISK/tmp/8642/cross/stable
  2. Скопировать в него все ipk пакеты ссылки на которые можно взять на странице HDX BD-1. Репозиторий : Ncurses, Screen and Nano and cetera # cd /HD_Media/hda3/sybhttpd/localhost.drives/HARD_DISK/tmp/8642/cross/stable # wget http://www.opendrive.com/files/7910545_M0KKj_8a29/bison_2.4.3_mipsel-rel2.ipk http://www.opendrive.com/files/7912301_rd3gi_eacb/flex_2.3.5_mipsel-rel2.ipk http://www.opendrive.com/files/7885389_5yXbR_f0f4/gettext_0.18.1.1_mipsel-rel2.ipk http://www.opendrive.com/files/7885390_IvFGU_72d5/glib_2.22.5_mipsel-rel2.ipk http://www.opendrive.com/files/7885387_FwkMg_7384/hdparm_9.35_mipsel-rel2.ipk http://www.opendrive.com/files/7894187_rGvaj_3653/htop_0.8.3_mipsel-rel2.ipk http://www.opendrive.com/files/7904860_h91bj_35d6/iperf_2.0.5_mipsel-rel2.ipk http://www.opendrive.com/files/7906771_EvItv_b308/iptables_1.4.10_mipsel-rel2.ipk http://www.opendrive.com/files/7905402_gBovX_96d3/lame_3.98.4_mipsel-rel2.ipk http://www.opendrive.com/files/7896200_NkFm3_95ae/mc_4.7.4_mipsel-rel2.ipk http://www.opendrive.com/files/7885395_SJEQE_a461/nano_2.2.5_mipsel-rel2.ipk http://www.opendrive.com/files/7885397_24ucU_7747/ncurses_5.7_mipsel-rel2.ipk http://www.opendrive.com/files/7885386_qkJlo_d40f/screen_4.0.3_mipsel-rel2.ipk http://www.opendrive.com/files/7890907_ifrBb_df7a/sed_4.2_mipsel-rel2.ipk http://www.opendrive.com/files/7885393_iXbEG_73db/slang_2.2.2_mipsel-rel2.ipk http://www.opendrive.com/files/7885394_LfG7Y_cd6f/zlib_1.2.5_mipsel-rel2.ipk #
  3. Создать файл /HD_Media/hda3/.opt/opt/etc/ipkg.conf
    # This repositories for mips rel 1. Not yet implemented.
    #src wl500g http://wl500g.dyndns.org/ipkg
    #src optware http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable
    # This repositories for mips rel 2 on local drive. Must be started FTP server 
    src optware ftp://ftpuser:1234@localhost/HARD_DISK/tmp/8642/cross/stable
    
    # root filesystem for install
    dest root /HD_Media/hda3/.opt
    
    # Architecture match order
    arch mipsel-rel2 1
  4. Проиндексировать репозиторий # cd /opt/bin # wget http://www.opendrive.com/files/7348690_4DtrH_8256/ipkg-make-index # chmod +x ipkg-make-index # ipkg-make-index /HD_Media/hda3/sybhttpd/localhost.drives/HARD_DISK/tmp/8642/cross/stable
  5. Обновить список пакетов # ipkg update Проверить, что пакеты доступны. # ipkg list bison - 2.4.3 - GNU bison is a parser generator that is part of the GNU Project. Bison converts a grammar description for a context-free gramma flex - 2.3.5 - Flex is a tool for generating scanners. A scanner, sometimes called a tokenizer, is a program which recognizes lexical patterns gettext - 0.18.1.1 - offers to programmers, translators and even users, a well integrated set of tools to provide support for producing packages wit glib - 2.22.5 - This is a set of function calls to support the reading and writing of PNG format files in a portable manner. hdparm - 9.35 - hdparm provides a command line interface to various hard disk ioctls supported by the stock Linux ATA/IDE device driver subsyst htop - 0.8.3 - htop is an ASCII full-screen performance monitor that is capable of reporting the activity of all processes. iperf - 2.0.5 - a modern alternative for measuring maximum TCP and UDP bandwidth performance. iptables - 1.4.10 - Userland utilities for controlling firewalling rules lame - 3.98.4 - LAME is an educational tool to be used for learning about MP3 encoding. The goal of the LAME project is to improve the psycho a libiconv - 1.13 - provides an iconv implementation for use on systems which don't have one or whose implementation cannot convert from/to Unicode libpng - 1.4.1 - This is a set of function calls to support the reading and writing of PNG format files in a portable manner. mc - 4.7.4 - Midnight Commander File Manager nano - 2.2.5 - GNU nano is a small and friendly text editor. ncurses - 5.7 - The ncurses library routines give the user a terminal-independent method of updating character screens with reasonable optimiza screen - 4.0.3 - a full-screen window manager that multiplexes a physical terminal between several processes (typically interactive shells). sed - 4.2 - Sed is a stream editor. slang - 2.2.2 - allows a developer to create robust multi-platform software and provides facilities required by interactive applications such a unfs3 - 0.9.18 - is a user-space implementation of the NFSv3 server specification. It provides a unified mountd and nfsd program and so far runs zlib - 1.2.5 - provides function calls which allow an application to compress or decompress data stored in a format similar to that used by th Successfully terminated.

Комментариев нет:

Отправить комментарий