This shows you the differences between two versions of the page.
create_image [2014/06/03 16:10] curlymo |
create_image [2017/12/13 19:05] (current) Nachteule |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | **Creating a Clean Image** | + | ===== Creating a clean Image ===== |
If you want to create an official XBian image we can use for distribution, follow these steps: | If you want to create an official XBian image we can use for distribution, follow these steps: | ||
* Flash the latest XBian image. | * Flash the latest XBian image. | ||
- | * Boot. | + | * Boot |
- | * Stop xbmc and use the terminal or connect to XBian through SSH (stopping xbmc will speed up the process anyway). | + | * Stop Kodi and use the terminal or connect to XBian through SSH (stopping Kodi will speed up the process anyway). |
* Upgrade all package as they appear in the stable repository. | * Upgrade all package as they appear in the stable repository. | ||
* Reboot | * Reboot | ||
* Run\\ | * Run\\ | ||
<code>root@xbian:~# all-clean</code>\\ | <code>root@xbian:~# all-clean</code>\\ | ||
- | This command will remove garbage like cached debs for apt, logs, xbian & root histories, it will reset XBMC settings, removes ssh keys (they will be regenerated upon next boot) etc. This will make the clean image even cleaner. | + | This command will remove garbage like cached debs for apt, logs, xbian & root histories, it will reset Kodi settings, removes ssh keys (they will be regenerated upon next boot) etc. This will make the clean image even cleaner. |
* Clone to an image file with xbian-config (option 6). Use the **file:/media/usbX/file.img** as the destination path. Make sure you use a usb stick here so no mountpoints are copied inside the image. | * Clone to an image file with xbian-config (option 6). Use the **file:/media/usbX/file.img** as the destination path. Make sure you use a usb stick here so no mountpoints are copied inside the image. | ||
* Done. Put the image somewhere online so we can use it. | * Done. Put the image somewhere online so we can use it. |