Альтернативный способ установки ManjaroISO
Views
Actions
Namespaces
Variants
Tools
Существует альтернативный способ установки и использования ManjaroISO.
Этот метод более гибкий и идеально подходит для всех, кто хочет создать RC или предварительную версию следующей версии Manjaro. Он также может помочь при несовместимости профилей ManjaroISO.
Это предпочтительный метод для всех разработчиков, которые хотят поддерживать свою собственную версию Manjaro и фиксировать изменения в каталогах профиля ManjaroISO на ManjaroISO Github.
1. Создайте рабочий каталог
Первое, что Вы должны сделать, это создать директорию для работы и перейти в нее с помощью cd. Это поможет организовать работу.
mkdir -p ~/work/
2. Обновите свою систему
To update your system
sudo pacman -Syu
3. Установите ManjaroISO
Next, install manjaroiso without its profiles:
sudo pacman -S manjaroiso
4. Клонируйте с Github
The latest code for ManjaroISO is available on Github. There is the "master" branch and the "development" branch available.
The "master" branch is meant for creation of install-medias based on the latest stable Manjaro release. Clone ManjaroISO directly from Github to your work directory:
git clone https://github.com/manjaro/manjaroiso.git ~/work/manjaroiso
The "development" branch contains code for buildiso to build a RC or pre release install-media. Additionally, it contains more ManjaroISO profiles.
Attention: Not all ManjaroISO profiles in the "development" branch work and it can contain more bugs. Usually, it is updated more often, too.
Clone ManjaroISO from the "development" branch on Github:
git clone -b development https://github.com/manjaro/manjaroiso.git ~/work/manjaroiso
Обновления
Immediately after you have cloned the code from Github - as described in the last chapter - your ManjaroISO is up-to-date. When you wait a couple of days or longer, it is recommended to update.
An update pulls the latest changes from Github and puts them in your ~/work/manjaroiso
directory. Therefore, the following commands make sense.
First, you have to make sure you are in the directory you cloned the code from Github:
cd ~/work/manjaroiso
Use this "update" command, if you cloned from the master branch:
git pull origin master
Use this "update" command, if you cloned from the development branch:
git pull origin development
These "update" commands do not overwrite any changes you have made to files.
Различия
In comparison to the other way to install ManjaroISO, there are a couple more files and directories in your ~/work/manjaroiso/
folder. But other than that, everything works the same.
Now, you can modify your ManjaroISO profile and use buildiso to build your own install-media as described here.