|
| ||||||||||
| Tags: asus, asus eee note, fat system, package manager, xml |
![]() |
| | Thread Tools | Search this Thread |
|
#1
| |||
| |||
| Package format in Eee Note Package Manager
|
|
#2
| |||
| |||
| Re: Package format in Eee Note Package Manager
I have a fundamental idea of the package format that others could get better on:
|
|
#3
| |||
| |||
| Re: Package format in Eee Note Package Manager
The other important factors are: The 'title.txt' file (excuse the windows format) which contains a long title (maybe this is not needed noting that all file formats hold long file names now.)
A server serving the packages should be an http server containing all of the packages with an XML file called packagelist.xml containing a compilation of nodes which in turn contain "title", "description", and "location" containing a URL allowing one site to link to another if required. |
|
#4
| ||||
| ||||
| Re: Package format in Eee Note Package Manager
Unluckily the slackware package format does not include the name, description, or version of the package in the format. These are crucial features. Oh well, back to making wheel by myself. Also, dependencies are an essential part of any package management system so I will need some mechanism for this. I use it in some routers and its fast and use dependencies. |
|
#5
| |||
| |||
| Re: Package format in Eee Note Package Manager
I consider the package descriptor would need to have a key to identify whether or not the package is for a GUI app that is displayed in the launcher. If so, the PM should add an entry to the .Aconfig file. It should also add an entry to the Config.xml file. The two entries can be pre-made text files that continue living in the package, much like the ".desktop" files in other PM packages. It would also be nice if the PM would allow you to change the order of the Config.xml entries. The most reliable way I've found to add entries, is to use sed to place them immediately after the Sudoko entry, but that means the entries are placed on the second page in reverse order of installation. |
|
#6
| |||
| |||
| Re: Package format in Eee Note Package Manager
Keep in wits that after Config.xml changed, the launcher needs to be restarted. I'm not sure if that also applies to. Aconfig and eeeserver as well, it may be a best perform to reboot after the PM exits if packages have been installed or detached. I think a tar.gz is a workable answer. If you look at the QTMail installer, I decided it was easier to extract a tar.gz than to place all the files in the requisite locations via shell script. Note that I also copy the tar.gz file to the local system, then chown it to root first. I had some issues where files extracted from a tar.gz ended up with the permissions of the original system. Also, files coming from a FAT filesystem (external SD) have different permissions as well. |
|
#7
| |||
| |||
| Re: Package format in Eee Note Package Manager
It seems that I was a little incorrect about the ipkg format not having script hold up. There have been 2 generations of ipk and the latest wires scripts and dependencies. Opkg is a fork of ipkg that is vigorously maintained and uses the 2nd gen ipk format. It can also install debs if necessary. I think opkg is the go for a package management format. The client application can take care of the Config.xml and Aconfig files, and back up to the system partition somewhere, or, even better, auto-generate additions to both files so that the Config.xml and .aconfig are always in sync with the installed system. |
![]() |
|
| Thread Tools | Search this Thread |
| |
Similar Threads for: "Package format in Eee Note Package Manager" | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Where are the packages in Package Manager of BackTrack 5? | CAMDEND | Windows Software | 5 | 09-07-2011 10:37 AM |
| Hyper Note Package manager | Angee | Windows Software | 5 | 28-06-2011 10:56 AM |
| I want to know about eee note package manager | Bethany Johson | Portable Devices | 5 | 23-06-2011 12:30 AM |
| Software manager vs Package manager in Linux Mint | (IVORY) | Operating Systems | 5 | 18-01-2011 10:08 AM |
| Problem with apt package manager | Beverly Archer | Operating Systems | 4 | 19-03-2010 12:17 PM |