create gui installer for LFS
i want create gui installer for my distro LFS
so anyone tell me how to ... ? & thank's in advanced |
Why would someone want to create a gui installer for LFS.
|
Never knock an effort...
Ahem! If you want to create a GUI installer, you might want to first look into Python and GTK, especially the PyGTK toolkit and start from there. Best of luck. |
GTK is nowadays mainly developed to be used in the GNOME desktop environment and many projects now make the effort to switch from GTK to Qt. Not even the GTK developers really recommend to use GTK in any larger project. I would recommend to use Python with Qt instead of Python with GTK. Of course you also can use any other language that has Qt bindings
|
There's also the WxWidgets toolkits as well. GNU/Linux has about over a dozen or so GUI toolkits. FastLight, GTK, QT, Wx, I think X has it's own UI toolkit, Motif, etc.
|
yes i know
but how to do it ?? any notification |
Have you installed LFS before, do you have working scripts for the current stable realese up to a working X, perhaps even with a desktop?
That would be my first step. I am using LFS 7.4 with lfspkg. After manually building ch5, there are scripts though. I can build ch6 mostly scripted and continue to a full working desktop thanks to Keith's scripts and package manager. He is updating his package manager and scripts to work with 7.5. |
Unless it's documented, there's no real way to do it, other than trial and error I'm afraid.
|
Quote:
For maximum flexibility at install time you would need a package manager in your distro, so that you can choose which packages to install. In that case it would basically look like this: - Start from a live medium (CD/DVD/USB/PXE) and start the installer. - Let the user partition the disk (you can instruct the user to use existing tools like fdisk or GParted, or you can write your own partitioner, possibly using libraries like libparted) - Mount the partitions in the way the user specified and use your package manager to install the packages the user has chosen to them - Create necessary configuration files, like fstab, timezone, hostname, ..., likely with user intervention - Install a bootloader - Optional, let the user do post-install configuration, like creating additional users. It will get easier to write an installer if you go for less flexibility, for example if you just deploy filesystem images of your distro and configure them afterwards. So the first thing to think about would be: How flexible do I need the installer to be? |
All times are GMT -5. The time now is 09:30 AM. |