LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Closed Thread
  Search this Thread
Old 01-04-2016, 11:40 AM   #136
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,225

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320

Quote:
Originally Posted by jostber View Post
The vim package with ruby and clipboard included would be great.
Clipboard support would add an X dependency, and there's a comment in the SlackBuild about why Ruby support isn't enabled.

Personally, I replaced vim with neovim and I'm never going back.
 
Old 01-04-2016, 02:23 PM   #137
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
Quote:
Originally Posted by Didier Spaier View Post
In your post #87 you do not say against which source archive are your patches. It seems that you are referring to the source archive http://http.debian.net/debian/pool/m...a2.orig.tar.xz but it would be better to state that explicitly.

Also, this archive is part of Debian source package bundles like this one for Stretch: https://packages.debian.org/source/stretch/grub2

But this bundle contains also a lot of Debian patches in http://http.debian.net/debian/pool/m....debian.tar.xz
Code:
/tmp/grub_debian/debian/patches$ ls | wc -l
90
So my guess is that if Pat would consider using this grub "version" he would check all these patches to see which are worthwhile for Slackware and also possibly tweak all configuration made by Debian when packaging. Some work ahead

I assume that you have checked the patches grub_gpt_legacy_detection_btrfs.patch and grub_zfs-detection.patch against the aforementioned source tarball as they come from elsewhere (even though I do not see the point of the latter as there is no zfs in Slackware). FYI CVE-2015-8370.patch is shipped among the Debian patches.

Also, to really have an usable DejaVu Sans Mono pf2 font one need to run grub-mkfont with a DejaVu TTF font as source and check the exact full name of the output font (this will be done in Slackware Live).

Needless to say, as always I am only speaking on behalf of myself.

PS Slackel provides stuff allowing to configure and install grub as boot loader/boot manager, see http://www.slackel.gr/repo/source/extra/
Tracking this down, and this was what I got listed from ArchLinux's forums and help center.

This error https://bbs.archlinux.org/viewtopic.php?id=100027:

Code:
/sbin/grub-probe: error: cannot find a device for / (is /dev mounted?).
Will pop up when using BtrFS as root on a GPT partitioned system.

And THANK GOD, I found the patch source!

Source URL:
https://bugs.launchpad.net/debian/+s...260/comments/3
https://launchpadlibrarian.net/36483...etection.patch

It does have to be reworked (which I did) for usage with grub-2.02~beta2 as the source patch was for Grub-2.00.

Um... the rest are just rehashing from the .gz compressed patches already used by Slackware in uncompressed states.

The ZFS patch can be ignored though. It only works if you have zfs-on-linux available, and honestly, it's not worth it.

However, I would first try the Grub-git upstream first before using the patches as they may have fixed a few things.

Last edited by ReaperX7; 01-04-2016 at 03:11 PM.
 
Old 01-04-2016, 02:45 PM   #138
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
I didn't have "political correctness" in mind, just that to successfully apply a patch one have to know against which files. So my request was more a link to these files that the origin of the patches themselves.


EDIT:
Quote:
Originally Posted by ReaperX7 View Post
However, I would first try the Grub-git upstream first before using the patches as they may have fixed a few things.
if you can keep up with updates... Already three commits this year.

That's probably why Fedora chose to built against git _but_ with each patch referring to a precise index, as obviously needed in that case.

Still everything has to be carefully checked. For instance speaking about dejavu fonts I see in configure.ac lines 1591 sqq. after commit aa7bb4607bb799b2790ea008bcfd8d6ca0a6d752:
Code:
for ext in pcf pcf.gz bdf bdf.gz ttf ttf.gz; do
  for dir in . /usr/src /usr/share/fonts/X11/misc /usr/share/fonts/truetype/ttf-dejavu /usr/share/fonts/dejavu /usr/share/fonts/truetype; do
     if test -f "$dir/DejaVuSans.$ext"; then
       DJVU_FONT_SOURCE="$dir/DejaVuSans.$ext"
       break 2
     fi
  done
done
But the DejaVu fonts that we have in Slackware are all in /usr/share/fonts/TTF thus would not been found by configure.ac as is...

Last edited by Didier Spaier; 01-04-2016 at 03:58 PM.
 
Old 01-04-2016, 06:03 PM   #139
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
Quote:
Originally Posted by Didier Spaier View Post
I didn't have "political correctness" in mind, just that to successfully apply a patch one have to know against which files. So my request was more a link to these files that the origin of the patches themselves.


EDIT:if you can keep up with updates... Already three commits this year.

That's probably why Fedora chose to built against git _but_ with each patch referring to a precise index, as obviously needed in that case.

Still everything has to be carefully checked. For instance speaking about dejavu fonts I see in configure.ac lines 1591 sqq. after commit aa7bb4607bb799b2790ea008bcfd8d6ca0a6d752:
Code:
for ext in pcf pcf.gz bdf bdf.gz ttf ttf.gz; do
  for dir in . /usr/src /usr/share/fonts/X11/misc /usr/share/fonts/truetype/ttf-dejavu /usr/share/fonts/dejavu /usr/share/fonts/truetype; do
     if test -f "$dir/DejaVuSans.$ext"; then
       DJVU_FONT_SOURCE="$dir/DejaVuSans.$ext"
       break 2
     fi
  done
done
But the DejaVu fonts that we have in Slackware are all in /usr/share/fonts/TTF thus would not been found by configure.ac as is...
Yeah hence why I tried to not use Grub-git in the first place, and referenced it only. At least 2.02~beta2 is an actual release (latest known) and it's been out long enough to write patches for correctly. If Grub-git was used, and this is a rough recommendation only, an in-house git pulled and dated tarball would be required, and I doubt that's good practice.

Anywhos, I "think" the raw patch from the link (minus the reworking I did on Slackworks) "might" work on Grub-2.00, but here I'm firing a gun into a blacked out room at a target only 2 inches wide placed at a random location. Suggestion, do so at your own risk.

There are other patches as well possibly for 2.02~beta2, but I'm not certain how useful they'd be, if any since I only tested the known Slackware available patches and the btrfs-detection patch myself, but it got my system working so I can't complain.

As far as ZFS goes, I did more digging and the only thing I know of is some serious hack-fu used by the zfs-on-linux project for their in-house Grub implementation. So yeah, that's a end to that topic.

Last edited by ReaperX7; 01-04-2016 at 06:06 PM.
 
Old 01-05-2016, 03:51 PM   #140
vigi
Member
 
Registered: May 2009
Location: australia
Distribution: slackware
Posts: 187

Rep: Reputation: 30
I was wondering if the current slackware n curve installation procedure, could be improved by installing the boot loader earlier in the process? Currently lilo is installed as the final step, and if a mistake is made you have to start the installation from scratch again.
Would it be possible to load the essential modules and the boot loader earlier with a confirmation step, so one knows they have a bookable PC before continuing?
 
Old 01-05-2016, 04:05 PM   #141
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
Quote:
Originally Posted by vigi View Post
I was wondering if the current slackware n curve installation procedure, could be improved by installing the boot loader earlier in the process? Currently lilo is installed as the final step, and if a mistake is made you have to start the installation from scratch again.
Would it be possible to load the essential modules and the boot loader earlier with a confirmation step, so one knows they have a bookable PC before continuing?
I do not think that be necessary as you can restart the installation, possibly skipping already performed steps, and if you only miss the boot loader use the DVD installer to start the installed system (as explained in the first script) and then configure and install lilo, either manually or running "liloconfig".

Just be careful if you restart the installer: at the TARGET step indicate on which partition root (/) should be mounted but of course do _not_ format that partition else you would have to redo the installation completely. Then you will have to indicate the SOURCE of packages again but you can skip installing packages if that's done (just click Cancel at the INSTALL step).
 
Old 01-06-2016, 01:03 AM   #142
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
What about selecting which bootloader you'd like to use rather than just LILO?
 
Old 01-06-2016, 01:58 AM   #143
bartgymnast
Member
 
Registered: Feb 2003
Location: Almere, Netherlands
Distribution: slack 7.1 till latest and -current, LFS
Posts: 368

Rep: Reputation: 165Reputation: 165
I switched to Grub a while ago.
It would be nice to have the installer have you select the bootloader.
something like this.

1. Install LILO as bootloader
2. Install ELILO as bootloader
3. Install Grub as bootloader
4. SKIPP installing a bootloader

Also the current script is confusing.

first the option, LILO and skip, when skipping you get the option ELILO and skip
 
Old 01-06-2016, 05:17 AM   #144
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
Options could extend to extlinux/syslinux also.
 
Old 01-06-2016, 05:37 AM   #145
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
Why exclude rEFInd, gummiboot (or its fork goofiboot, used by Solus), grub legacy and the kernel's EFI stub loader?

Implementation is left to the reader as an exercise

That being said Slackel does propose the choice between e(lilo) and grub when user wants to install once the Openbox Live image is loaded, so anyone is allowed to customize the Slackware installer to fit ones need.

Whether Pat is ready to accept these changes in genuine Slackware is another story, of course. I wouldn't bet a beer on that...
 
Old 01-06-2016, 05:45 AM   #146
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
Grub-legacy isn't pre-installed like syslinux, grub, lilo, and elilo are.

Any pre-installed bootloader would be available depending on the system, and lists for UEFI and BIOS would be ideal, however, as mentioned the bootloaders would have to be preinstalled by the system to be on that list.
 
Old 01-06-2016, 06:20 AM   #147
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
In case someone didn't get me, what I really meant is "asking is easy".
 
Old 01-06-2016, 06:22 AM   #148
Nille_kungen
Member
 
Registered: Jul 2005
Distribution: Slackware64-current
Posts: 587

Rep: Reputation: 201Reputation: 201Reputation: 201
LLVM 3.7.1 This release contains bug-fixes for the LLVM 3.7.0 release.
Note that this release is *not* API and ABI compatible with 3.7.0.
This is due to a change in the C API in order to restore ABI/API compatible of the C
API with 3.6.x and 3.8.x.
http://lists.llvm.org/pipermail/llvm...ry/000066.html
 
1 members found this post helpful.
Old 01-06-2016, 08:46 AM   #149
MarcT
Member
 
Registered: Jan 2009
Location: UK
Distribution: Slackware 14.2
Posts: 125

Rep: Reputation: 51
A DLNA media server would be good.

I've been using "coherence" http://coherence-project.org/ Python based DLNA server for a while now (to stream audio to my hifi).
It was a pain to make work in 14.1 (due to multiple dependencies) and I'm not looking forward to having that battle again. It also hasn't had much maintenance in the last few years.


Other suggestions welcome (even if they don't make it into -current).

Last edited by MarcT; 01-06-2016 at 08:47 AM.
 
Old 01-06-2016, 10:07 AM   #150
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Quote:
Originally Posted by MarcT View Post
A DLNA media server would be good.

I've been using "coherence" http://coherence-project.org/ Python based DLNA server for a while now (to stream audio to my hifi).
It was a pain to make work in 14.1 (due to multiple dependencies) and I'm not looking forward to having that battle again. It also hasn't had much maintenance in the last few years.


Other suggestions welcome (even if they don't make it into -current).
I struggled for a long time with minidlna and mediatomb, and those never worked well. Then I switched to Universal Media Server and stuck with that.
It works extremely well and it adds external subtitles to my movies transparently while watching.
All of it is written in Java and requires no compiling, just a little configuration for your specific media devices.
 
2 members found this post helpful.
  


Closed Thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] how to show the current time at the top in the current shell Always ? rohitchauhan Linux - General 5 04-09-2014 03:05 PM
Slackware ARM (current) epic mistake: the current Android kernels are kicked out! Darth Vader Slackware 16 08-25-2013 04:36 PM
[SOLVED] setup fails on most current Slackware-current March 26, 2012 AlleyTrotter Slackware 15 04-09-2012 06:05 AM
Observation of Feb -current vs March -current Hangaber Slackware 14 03-12-2010 08:26 AM
cvs diff the most current and second last current version powah Linux - Software 1 03-30-2006 01:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:23 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration