Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Mon 10 Dec 2018, 00:26
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects
A Debian-Stretch-Live Starter Kit
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 14 of 14 [205 Posts]   Goto page: Previous 1, 2, 3, ..., 12, 13, 14
Author Message
dancytron

Joined: 18 Jul 2012
Posts: 1162

PostPosted: Fri 14 Sep 2018, 17:41    Post subject:  

fredx181 wrote:
Hi dcung, dancytron,

dancytron wrote:
So to fix in existing version, just delete:

Quote:
Package: libxml2
Pin: version 2.9.1+dfsg1-5+deb8u4
Pin-Priority: 1001

Package: libxml2-dev
Pin: version 2.9.1+dfsg1-5+deb8u4
Pin-Priority: 1001

from existing /etc/apt/preferences?


Yes, but I think it's required that there's only one empty line between the pinned sections, not 2 or 3.
And, for safety, better remove wget section also, after all it appeared to be not a good idea to pin these packages.
(it was done to make the ISO smaller because the newer versions need more dependencies)


/snip

Fred


Thanks. I also had to unmark wget and libxml2 in synaptic.
Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 3571
Location: holland

PostPosted: Sat 15 Sep 2018, 19:40    Post subject:  

dancytron wrote:
Thanks. I also had to unmark wget and libxml2 in synaptic.


Yes, reminds me that there's also /var/lib/synaptic/preferences (holds the "pinned" configuration specially for synaptic) that needs editing to make the change complete.

@dcung You may want to edit that file , or just rename it to /var/lib/synaptic/preferences.bak

Fred

_________________
Dog Linux website
Back to top
View user's profile Send private message 
dcung

Joined: 13 Jul 2018
Posts: 230
Location: Down Under - 3rd rock from Sun.

PostPosted: Sun 16 Sep 2018, 03:49    Post subject:  

fredx181 wrote:
@dcung You may want to edit that file , or just rename it to /var/lib/synaptic/preferences.bak


👌

Thanks Fred.
Back to top
View user's profile Send private message 
westwest

Joined: 10 Apr 2015
Posts: 36

PostPosted: Mon 17 Sep 2018, 17:42    Post subject: virtualbox  

Hi, having followed your instructions i got virtuabox running,
although i had to install linux-headers-ALL, not included in the mini-devx.

Now more virtualbox woes, i get an error message:

[ 304.538959] vboxdrv: disagrees about version of symbol cpu_tlbstate
[ 304.538964] vboxdrv: Unknown symbol cpu_tlbstate (err -22)

Searching around it seems that i would have to recompile the kernel with "make clean", and perhaps install some more packages...

I'm absolutely unsure about any of this, and any help to get virutalbox properly functionning on the StarterKit will be greatly appreciated.
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 12360
Location: Stratford, Ontario

PostPosted: Sat 24 Nov 2018, 17:01    Post subject:  

This is an iSmart 14inch Windows "cloudbook" with an N3350 chipset, 3GB RAM and a 32GB eMMC drive.

The AMI firmware has a counterintuitive setup. When the eMMC drive is erased and loaded with Linux, it must remain in UEFI format. But you must turn ON Legacy (CSM) mode to make it bootable.

The touchpad is a Hantick unit that is not recognized by the stock 4.9.0 kernel. So I dropped in a 4.19.2 kernel from LxPup.

Everything works, including the mini HDMI port and the card slot.
ismart.png
 Description   
 Filesize   119.99 KB
 Viewed   428 Time(s)

ismart.png

Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 12360
Location: Stratford, Ontario

PostPosted: Mon 26 Nov 2018, 10:27    Post subject:  

How to make a squashfs module for the Kodi media player

1. Start with a CleanMode setup to ensure that you get all of Kodi's dependencies.

2. By default, the Debian version of Kodi uses PulseAudio. To use ALSA audio instead, do the following:
[Edit] This step may be optional.
a. Create the folder /root/.config/pulse
b. Create the file client.conf
c. Add the line: autospawn=no
d. Save.

3. Kodi uses accelerated video and needs mesa graphics. You may want to build a squashfs module for it too.
a. Run repo2sfs.
b. Use the Package name: libgl1-mesa-dri and the Extra package: mesa-utils
c. Build and load the module.
d. IMPORTANT: if you are loading mesa on-the-fly, you must also do an X restart to activate it.
e. Check that mesa is working by running the command: glxgears

4. Build the Kodi squashfs module.
a. Run repo2sfs and use the package name: kodi.
b. Load the module and test it from the command line with: kodi
c. If it works, you can run it from the Sound and Video menu.

Last edited by rcrsn51 on Thu 06 Dec 2018, 10:12; edited 1 time in total
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 12360
Location: Stratford, Ontario

PostPosted: Mon 03 Dec 2018, 09:59    Post subject:  

How to run Google Earth

1. Google Earth requires a machine with some power, like a Core i3 with 4GB RAM.

2. It runs inside the Chrome browser, so you need a 64bit version of the Starter Kit.

3. You may need accelerated graphics. See the instructions above for building a mesa squashfs module.

4. To build a Chrome module, read here.

5. Load both modules and restart X if needed.

6. Open the Chrome browser and go to: google.com/earth
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 12360
Location: Stratford, Ontario

PostPosted: Thu 06 Dec 2018, 08:47    Post subject:  

Here is the Dell 3020 again, now with a hard drive install of the Starter Kit.

This is a UEFI machine that originally had Win8. It was refurbished with Win10 and set to legacy mode. (This is a common procedure with commercial recyclers.)

The Win10 setup is stable, so I didn't want to risk damaging it. I booted off a Tahrpup flash drive, ran Gparted, shrank the Windows partition by 10GB and made a new ext3 partition. When I rebooted to Windows, it was still happy.

I booted off the Tahrpup drive again, ran the Stretch-Live-Frugal-Install tool and installed the Starter Kit into the new sda4. But how to boot it without impacting Windows?

The installer has an option called GRUB PBS. This puts Legacy GRUB on sda4's partition boot sector and starts a menu.lst file in /boot/grub of sda4. I copied the grubmenu.txt content from the install into this menu.lst.

If this was a pre-Win8 machine with conventional BIOS, I could just set the hard drive Boot Flag to sda4 and it would load Linux automatically. But this method didn't work with UEFI. So I added the following to a bootable flash drive setup:
Code:
title Deblive-Stretch-amd64-60 on sda4 PBS
root (hd1,3)
chainloader +1

The boot procedure starts off the flash drive, then jumps to the hard drive and loads the second GRUB menu. From there, the Linux install launches as usual.

To boot Windows, I just remove the flash drive.
snappie.png
 Description   
 Filesize   249.25 KB
 Viewed   151 Time(s)

snappie.png

Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 12360
Location: Stratford, Ontario

PostPosted: Fri 07 Dec 2018, 14:06    Post subject:  

How to make a Java module in the Starter Kit

Run repo2sfs with the Package name: openjdk-8-jre

To include a web browser plugin (only works in older browsers like Palemoon), add the Extra package: icedtea-8-plugin

Make this link: ln -sf /usr/lib/jvm/java-8-openjdk-i386/jre/bin/java /usr/local/bin
For the 64bit version, change "i386" to "amd64".

Run local Java apps with: java -jar xxx.jar

For the browser plugin, use: ln -sf /usr/lib/jvm/java-8-openjdk-i386/jre/lib/i386/IcedTeaPlugin.so /usr/lib/mozilla/plugins
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 12360
Location: Stratford, Ontario

PostPosted: Yesterday, at 08:34    Post subject:  

How to make an Xournal squashfs module

Xournal is primarily a notetaking, sketching, annotating app. But it is also a simple desktop publishing program. You can place blocks of text and graphics on a page, modify them, move them around, etc.

Run repo2sfs with the Package name: xournal

The build includes Ghostscript as a dependency. But if you already have CUPS printing installed, you don't need it again. At the first pause, go to /var/cache/apt/archives. Delete any redundant packages.

The install also contains the folder /usr/share/mime. Each time the module is activated, it triggers an update-mime-database operation. To avoid this, stop at the second pause. Go to /tmp/repo2sfs and delete the folder usr/share/mime.

Look for Xournal in the Accessories menu. The on-line documentation is here.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 14 of 14 [205 Posts]   Goto page: Previous 1, 2, 3, ..., 12, 13, 14
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Projects
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1349s ][ Queries: 12 (0.0305s) ][ GZIP on ]