Альтернативный способ установки ManjaroISO
Существует альтернативный способ установки и использования ManjaroISO.
This method is more flexible and is perfect for everybody, who wants to build a RC or pre release version of the next Manjaro version. It can also help with incompatibilities of ManjaroISO profiles.
This is the preferred method of all developers, who want to maintain their own spin of Manjaro and commit changes in their ManjaroISO profile folders to the ManjaroISO Github.
1. Create a work directory
The first thing you should probably do is create a directory to work in, and cd to it. This'll help keep things organized.
mkdir -p ~/work/
2. Update your system
To update your system
sudo pacman -Syu
3. Install ManjaroISO
Next, install manjaroiso without its profiles:
sudo pacman -S manjaroiso
4. Clone from 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
Updates
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.
Differences
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.