On Tuesday 29 April 2008 02:25:00 pm Bernhard Walle wrote:
* Adam Jimerson [2008-04-29 14:14]:
and I can see that RPM are a pain to make.
Why? It's *always* a good idea to package the source tarball in a way that the tarball creates one toplevel directory.
Bernhard
Yea, that is usually how I do it, but don't know why I didn't do it for that one. The reason I say that they are a pain to make is because its not easy to pick up. Ok I ran into anther problem this time it is in the %install section, everything is fine until it is told to create this hardlink: + ln /var/tmp/kenesis-0.1alpha2-build/usr/kenesis-0.1alpha2/kenesis.pl /usr/bin/kenesis ln: creating hard link `/usr/bin/kenesis' => `/var/tmp/kenesis-0.1alpha2-build/usr/kenesis-0.1alpha2/kenesis.pl': Permission denied error: Bad exit status from /var/tmp/rpm-tmp.56635 (%install) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.56635 (%install) mount: can't find / in /etc/fstab or /etc/mtab md: stopping all md devices. xenbus_dev_shutdown: device/console/0: Initialising != Connected, skipping System halted. is that not allowed?