Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37558730
en ru br
Репозитории ALT
D:3.0.5-alt1.1
5.1: 3.0.10-alt1
4.1: 3.0.10-alt0.M40.1
4.0: 3.0.10-alt0.M40.1
3.0: 2.9.7-alt1
www.altlinux.org/Changes

Группа :: Система/Ядро и оборудование
Пакет: mkinitrd

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Name: mkinitrd
Version: 2.9.7
Release: alt1
Serial: 1

Summary: Creates an initial ramdisk image for preloading modules
License: GPL
Group: System/Kernel and hardware

Source: %name-%version.tar.bz2

PreReq: modutils >= 0:2.4.27-alt1, mktemp >= 1:1.3.1
PreReq: mkinitrd-busybox >= 1.00.rel-alt1
PreReq: coreutils findutils gawk genromfs getopt sed

# libhw-tools is not strictly required (it is used only for autodetection if

# scsi_hostadapter is not specified explicitly); however, older versions are
# not suitable (modules.pcimap support is required).
Conflicts: libhw-tools < 0.2.12-alt1

%description
Mkinitrd creates filesystem images which are suitable for use as
Linux initial ramdisk (initrd) images.  Such images are often used
for preloading the block device modules (such as IDE, SCSI or RAID)
which are needed to access the root filesystem.  Mkinitrd automatically
loads IDE modules, all scsi_hostadapter entries in /etc/modules.conf,
and raid modules if the system's root partition is on raid, which
makes it simple to build and use kernels using modular device drivers.

In other words, generic kernels can be built without drivers for any
IDE/SCSI/RAID adapters which load appropriate driver as a module.
Since the kernel needs to read those modules, but in this case it
isn't able to address the IDE/SCSI/RAID adapter, an initial ramdisk
is used.  The initial ramdisk is loaded by the operating system loader
(such as LILO or GRUB) and is available to the kernel as soon as the
ramdisk is loaded.  The ramdisk image loads the proper IDE/SCSI/RAID
adapter and allows the kernel to mount the root filesystem.
The %name program creates such a ramdisk using information found in
the /etc/modules.conf file.

%prep
%setup -q

%build
%__subst -p 's/ at VERSION at /%version/g' -- %name

%install
%__install -pD -m755 %name $RPM_BUILD_ROOT/sbin/%name
%__install -pD -m644 %name.8 $RPM_BUILD_ROOT%_man8dir/%name.8

%files
/sbin/*
%_man8dir/*

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin