mkimage_profiles_сборка_alt_образование

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
mkimage_profiles_сборка_alt_образование [2024/05/08 15:28] uf4nmkimage_profiles_сборка_alt_образование [2024/10/23 19:30] (current) keremet
Line 46: Line 46:
 rpm http://mirror.yandex.ru/altlinux p10/branch/x86_64-i586 classic rpm http://mirror.yandex.ru/altlinux p10/branch/x86_64-i586 classic
 rpm http://mirror.yandex.ru/altlinux p10/branch/noarch classic rpm http://mirror.yandex.ru/altlinux p10/branch/noarch classic
-rpm-dir file:$PWD x86_64 dir+rpm-dir file:$PWD hasher/repo/x86_64 hasher
 EOF EOF
 </code> </code>
Line 74: Line 74:
 Подробнее — в каталоге doc исходников mkimage-profiles и на https://www.altlinux.org/Mkimage-profiles Подробнее — в каталоге doc исходников mkimage-profiles и на https://www.altlinux.org/Mkimage-profiles
  
 +При сборке образа на основе Сизифа:
  
 +<code>
 +cat <<EOF > apt/apt.conf.sisyphus.x86_64 
 +Dir::Etc::SourceList "$PWD/apt/sources.list.sisyphus.x86_64";
 +Dir::Etc::SourceParts /var/empty;
 +Dir::Etc::main "/dev/null";
 +Dir::Etc::parts "/var/empty";
 +APT::Architecture "64";
 +Dir::State::lists "$PWD/apt/lists/";
 +Dir::Cache "$PWD/apt/cache/sisyphus/";
 +EOF
 +</code>
  
 +<code>
 +cat <<EOF > apt/sources.list.sisyphus.x86_64
 +rpm http://mirror.yandex.ru/altlinux Sisyphus/x86_64 classic
 +rpm http://mirror.yandex.ru/altlinux Sisyphus/x86_64-i586 classic
 +rpm http://mirror.yandex.ru/altlinux Sisyphus/noarch classic
 +rpm-dir file:$PWD x86_64 dir
 +EOF
 +</code>
 +
 +<code>
 +git clone http://git.altlinux.org/gears/a/alterator-sysconfig.git 
 +mkdir hasher
 +hsh --initroot-only --apt-config=$PWD/apt/apt.conf.sisyphus.x86_64 hasher
 +cd alterator-sysconfig/
 +gear --commit --hasher -- hsh-rebuild --no-sisyphus-check=packager,gpg,changelog ../hasher
 +</code>
 +
 +<code>
 +make -C mkimage-profiles BRANCH=Sisyphus ARCH=x86_64 APTCONF=$PWD/apt/apt.conf.sisyphus.x86_64 IMAGEDIR=$PWD/out regular-xfce.iso
 +</code>
mkimage_profiles_сборка_alt_образование.1715182135.txt.gz · Last modified: 2024/05/08 15:28 by uf4n