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 20 May 2019, 14:26
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects
Create Debian 9 (Stretch) minimal ISO similar to DebianDog
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 10 of 97 [1452 Posts]   Goto page: Previous 1, 2, 3, ..., 8, 9, 10, 11, 12, ..., 95, 96, 97 Next
Author Message
peebee


Joined: 21 Sep 2008
Posts: 3834
Location: Worcestershire, UK

PostPosted: Wed 09 Aug 2017, 06:02    Post subject:  

wiak wrote:
EDIT3: Just using Fred's mklive-stretch script from /usr/bin on LxPupSc worked fine by the way (except I didn't bother with xorriso so iso wasn't made. the isodate/live folder contained good initrd1.gz, initrd1.img, vmlinuz, and 01-filesystem.squashfs for frugal booting though. Not sure why the other way resulted in empty initrd1 files... Note that prior to running mklive-stretch I simply used "export LD_LIBRARY_PATH=" which emptied LD_LIBRARY_PATH altogether, and that worked fine.

wiak

Success - thanks to wiak....
wiak clarified that apt-get was not needed for mklive-stretch....

Fresh frugal install of LxPupSc
Made internet connection
Installed debootstrap_1.0.89.pet
Copied mklive-stretch.sh to /usr/bin
Opened a terminal and typed:
Code:
export LD_LIBRARY_PATH= && mklive-stretch.sh
Frugally installed the resulting /stretch/isodata/live successfully.....yippee

Now want to add things like pupsysinfo, tas, xarchive, that I'm comfortable with on Puppy so trying to work out how I do that.....is it possible??

_________________
LxPup = Puppy + LXDE
Main version used daily: LxPupSc; Assembler of UPup, ScPup & ScPup64, LxPup, LxPupSc and LxPupSc64
Back to top
View user's profile Send private message Visit poster's website 
belham2

Joined: 15 Aug 2016
Posts: 1647

PostPosted: Wed 09 Aug 2017, 07:39    Post subject:  

Hi all,

It's lunchtime, took 20 mins to use the GUI-buildscript, add what was necessary for the base and apps, remove some fo the other stuff, and created this below (it is full LXDE de with LX complimentary programs, Thunar, Palemoon, mtPaint, pupSnap via screeny/scrot from debian, and some of Fred's extras and dpup extras). This gui build process is flexible, easy to understand, and fast. Tonight, next up is budgie-desktop build and then a LXqt build, all using this beautiful GUI build script Very Happy
New-LXDE-de-with-Thunar-and-LX-packages-built-with-scriptGUI.jpg
 Description   
 Filesize   32.72 KB
 Viewed   789 Time(s)

New-LXDE-de-with-Thunar-and-LX-packages-built-with-scriptGUI.jpg

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


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

PostPosted: Wed 09 Aug 2017, 08:26    Post subject:  

Pet2Stretch brings Puppy PET packages into the Stretch filesystem and runs any post-install scripts. It does NOT register with the apt-get database, but has its own uninstall tool. It can also check for missing dependencies. Pet2Stretch is intended for small items like print/scan drivers that already exist as PETs.

Look for Pet2Stretch in the System menu or use a right-click-open-with procedure.

Update: The View tool extracts the PET into /tmp so you can view the contents.

Remove the fake .gz extension.

------------------------
snappie.png
 Description   
 Filesize   5.8 KB
 Viewed   324 Time(s)

snappie.png

pet2stretch_1.3.deb.gz
Description  Updated 2017-10-26
gz

 Download 
Filename  pet2stretch_1.3.deb.gz 
Filesize  5.17 KB 
Downloaded  156 Time(s) 

Last edited by rcrsn51 on Thu 26 Oct 2017, 08:32; edited 5 times in total
Back to top
View user's profile Send private message 
belham2

Joined: 15 Aug 2016
Posts: 1647

PostPosted: Wed 09 Aug 2017, 13:33    Post subject:  

Hi Fred,

Well, I've spent the past few hours trying to get the build-script to build an xfce4 & xfce4-goodies debiandog, but each time the script failed to get through. I finally caught the error before it turns itself off in the middle of doing stuff. It had something to do with "libxklavier....". As soon as the script threw up the message that there is/was a "Fatal Error", this libxklavier..... flew by, and the script terminated itself very quickly. I am not sure how to work around this error in the original build script, so, for now, I cannot attempt an XFCE and/or Budgie desktop-environment build using the buildscript.

Anything that stays focused on openbox and lxde, you can build all you want and the script will get through to the end (and have made you a nice, bootable ISO or just use the files from it to set up a frugal install).
Back to top
View user's profile Send private message 
rcrsn51


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

PostPosted: Wed 09 Aug 2017, 14:26    Post subject:  

I have built Broadcom wireless drivers for users who need the vendor wl driver. Post a request.

The post-install scripts will blacklist the b43 and ssb drivers. Look in /etc/modprobe.d/broadcom.conf. Depending on your chipset, you may need to blacklist other drivers.

Note: If you are using PeasyWiFi as your connection manager, open the Config and set
Code:
export DRIVER=nl80211

Last edited by rcrsn51 on Fri 26 Jan 2018, 15:30; edited 4 times in total
Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 3917
Location: holland

PostPosted: Wed 09 Aug 2017, 15:04    Post subject:  

belham2 wrote:
Hi Fred,

Well, I've spent the past few hours trying to get the build-script to build an xfce4 & xfce4-goodies debiandog, but each time the script failed to get through. I finally caught the error before it turns itself off in the middle of doing stuff. It had something to do with "libxklavier....". As soon as the script threw up the message that there is/was a "Fatal Error", this libxklavier..... flew by, and the script terminated itself very quickly. I am not sure how to work around this error in the original build script, so, for now, I cannot attempt an XFCE and/or Budgie desktop-environment build using the buildscript.

Anything that stays focused on openbox and lxde, you can build all you want and the script will get through to the end (and have made you a nice, bootable ISO or just use the files from it to set up a frugal install).


Hi Belham,

I didn't yet experiment with different desktop environments to build with, but about this I was curious (I like xfce Smile )
Couldn't reproduce what you got (not a single error) but probably I did different than you.
Here's my setup (used the GUI):
# Base Apps
xfce4 menu leafpad gparted parted pv synaptic volumeicon-alsa alsa-utils firefox-esr=24.8.0esr-1~deb8u2 pm-utils xdotool wmctrl desktop-file-utils mime-support cryptsetup-bin squashfs-tools conky fakeroot xserver-xorg-input-evdev pfind

# Base Dog Apps
yad gtkdialog obshutdown pup-volume-monitor peasywifi edit-sfs-thunar filemnt-thunar remaster-scripts quick-remaster apt2sfs sfsload fixdepinstall greybird-theme-dd-stretch makedebpackage flashplayerchoice

It did boot fine, but didn't start xfce, so I installed slim login manager from console and ran it:
Code:
apt-get update
apt-get install slim
slim

There came a warning message, but the slim screen showed, then I pressed F1 (for selecting DE), showed "xfce-session" typed my password and voila... xfce4 Smile

EDIT: The warning message about (login....) disappeared for me when I renamed ~/.xsession to ~/.xsession.bak (after reboot wasn't there anymore)

I then installed also xfce goodies without problems.

There are some problems, e.g. (using save on EXIT) Save or NoSave doesn't appear when shutdown from xfce (and save from console doesn't work in every case), but about that later maybe

Would be good to share your setup (also your successful lxde setup), what needed to be done afterwards etc.
Btw, in general it would be nice if people share in detail different experiments.
I think I will implement in the script a sort of log creation so that it's easy to look afterwards what has been the setup of packages installed.

fred

Last edited by fredx181 on Wed 09 Aug 2017, 15:09; edited 1 time in total
Back to top
View user's profile Send private message 
rcrsn51


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

PostPosted: Wed 09 Aug 2017, 15:06    Post subject:  

Here is SaveFolderBackup for archiving your Changes folder. But it is also a general-purpose backup/restore system. Read here.

It auto-installs lzop compression as a dependency.
SaveFolderBackup_1.2.deb.gz
Description 
gz

 Download 
Filename  SaveFolderBackup_1.2.deb.gz 
Filesize  3.27 KB 
Downloaded  83 Time(s) 

Last edited by rcrsn51 on Wed 09 Aug 2017, 15:27; edited 1 time in total
Back to top
View user's profile Send private message 
dancytron

Joined: 18 Jul 2012
Posts: 1274

PostPosted: Wed 09 Aug 2017, 15:07    Post subject:  

As suggested, I pasted the addnewuser script from my Stretch64 into a new DD created with the latest non-gui script. I didn't change much from the stock script that created the distribution, nothing that should matter.

When I ran "addtouser" from the terminal, to add user "puppy" I got this.
Code:

root@live:/usr/local/bin# ./addnewuser
Adding user `puppy' ...
Adding new group `puppy' (1000) ...
Adding new user `puppy' (1000) with group `puppy' ...
The home directory `/home/puppy' already exists.  Not copying from `/etc/skel'.
adduser: Warning: The home directory `/home/puppy' does not belong to the user you are currently creating.
usermod: group 'scanner' does not exist
usermod: group 'lpadmin' does not exist
usermod: group 'wheel' does not exist
usermod: group 'bluetooth' does not exist
usermod: group 'fuse' does not exist


I exited X and did "login puppy", which worked, except that the xserver would not start. I have attached xorg log.

To see if it was just the name "puppy" that was the problem, I tried user "cat." It was a little different.

Code:

root@live:/usr/local/bin# ./addnewuser
Adding user `cat' ...
Adding new group `cat' (1001) ...
Adding new user `cat' (1001) with group `cat' ...
Creating home directory `/home/cat' ...
Copying files from `/etc/skel' ...
usermod: group 'scanner' does not exist
usermod: group 'lpadmin' does not exist
usermod: group 'wheel' does not exist
usermod: group 'bluetooth' does not exist
usermod: group 'fuse' does not exist
root@live:/usr/local/bin#


I exited X, Did "login cat". Pretty much the same as puppy. I attached that xorg log as well.

Let me know if there is any followup you'd like me to do.

Dan
Xorg.0.log.cat.zip
Description  remove .zip
zip

 Download 
Filename  Xorg.0.log.cat.zip 
Filesize  7.43 KB 
Downloaded  79 Time(s) 
Xorg.0.log.puppy.zip
Description  remove .zip
zip

 Download 
Filename  Xorg.0.log.puppy.zip 
Filesize  7.43 KB 
Downloaded  67 Time(s) 
Back to top
View user's profile Send private message 
belham2

Joined: 15 Aug 2016
Posts: 1647

PostPosted: Wed 09 Aug 2017, 15:24    Post subject:  

fredx181 wrote:
belham2 wrote:
Hi Fred,

Well, I've spent the past few hours trying to get the build-script to build an xfce4 & xfce4-goodies debiandog, but each time the script failed to get through. I finally caught the error before it turns itself off in the middle of doing stuff. It had something to do with "libxklavier....". As soon as the script threw up the message that there is/was a "Fatal Error", this libxklavier..... flew by, and the script terminated itself very quickly. I am not sure how to work around this error in the original build script, so, for now, I cannot attempt an XFCE and/or Budgie desktop-environment build using the buildscript.

Anything that stays focused on openbox and lxde, you can build all you want and the script will get through to the end (and have made you a nice, bootable ISO or just use the files from it to set up a frugal install).


Hi Belham,

I didn't yet experiment with different desktop environments to build with, but about this I was curious (I like xfce Smile )
Couldn't reproduce what you got (not a single error) but probably I did different than you.
Here's my setup (used the GUI):
# Base Apps
xfce4 menu leafpad gparted parted pv synaptic volumeicon-alsa alsa-utils firefox-esr=24.8.0esr-1~deb8u2 pm-utils xdotool wmctrl desktop-file-utils mime-support cryptsetup-bin squashfs-tools conky fakeroot xserver-xorg-input-evdev pfind

# Base Dog Apps
yad gtkdialog obshutdown pup-volume-monitor peasywifi edit-sfs-thunar filemnt-thunar remaster-scripts quick-remaster apt2sfs sfsload fixdepinstall greybird-theme-dd-stretch makedebpackage flashplayerchoice

It did boot fine, but didn't start xfce, so I installed slim login manager from console and ran it:
Code:
apt-get update
apt-get install slim
slim

There came a warning message, but the slim screen showed, then I pressed F1 (for selecting DE), showed "xfce-session" typed my password and voila... xfce4 Smile

EDIT: The warning message about (login....) disappeared for me when I renamed ~/.xsession to ~/.xsession.bak (after reboot wasn't there anymore)

I then installed also xfce goodies without problems.

There are some problems, e.g. (using save on EXIT) Save or NoSave doesn't appear when shutdown from xfce (and save from console doesn't work in every case), but about that later maybe

Would be good to share your setup (also your successful lxde setup), what needed to be done afterwards etc.
Btw, in general it would be nice if people share in detail different experiments.
I think I will implement in the script a sort of log creation so that it's easy to look afterwards what has been the setup of packages installed.

fred



Hi Fred,

Hmmm, looking at what you used, I think I definitely caused the problem by me specifying too much to be included into the buildscript. I've got to start trusting the buildscript more and let it pull ALL the dependencies in instead of me overdoing it and specifying too much stuff, haha. Going to try again here, see what happens. Thanks!
Back to top
View user's profile Send private message 
dancytron

Joined: 18 Jul 2012
Posts: 1274

PostPosted: Wed 09 Aug 2017, 15:28    Post subject:  

dancytron wrote:
dancytron wrote:
Built another one. I attempted to add all the DD specific programs and test a few.

/snip

It seems when I use save2flash that it doesn't flush the memory like the newer version does. In other words, after I installed Chrome, it seemed like each time I used save2flash it was saving that whole huge amount rather than just what I'd added since the last time I used save2flash. Or I might just be imagining it?

/snip


I just built one with the new script. This issue appears to be fixed.


Well, sorry to report that my latest build is doing this again.

I didn't save the old build or my notes, so I don't know if there was any difference.

Dan
Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 3917
Location: holland

PostPosted: Wed 09 Aug 2017, 15:36    Post subject:  

Hi Dan,

Now you mention about X not starting I remember the same problem when making StretchDog.
It has to do with the "startx" method (logging in through a login manager is OK)
If I remember well the fix was to install xserver-xorg-legacy
Code:
apt-get install xserver-xorg-legacy


Content of /etc/X11/Xwrapper.config should be:
Code:
needs_root_rights=yes
allowed_users=anybody

And do in terminal:
Code:
dpkg-reconfigure xserver-xorg-legacy

Reboot required maybe?

Also you need to copy some folders, e.g. /root/.config and the .xsession files to home/puppy
If you do that as root you need to give ownership to puppy, from terminal in /home :
chown -R puppy:puppy puppy

One of the first things I will work on is multiuser support, e.g. /etc/skel folder contain more so the manual copying isn't needed, but not sure yet what or how, this way of preparing is all new for me, making a DebianDog was easier ! Smile

Could be that adding new user e.g "cat" is more successful (since creating user puppy has failed already)

EDIT:
Quote:
.....
Well, sorry to report that my latest build is doing this again.

okay, thanks, will have a look (thought also it was ok, but will test again)

Fred

_________________
Dog Linux website
Tinylinux blog by wiak
Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 3917
Location: holland

PostPosted: Wed 09 Aug 2017, 16:14    Post subject:  

rcrsn51 wrote:
For Broadcom wireless users who need the vendor wl driver, I have built 32bit and 64bit packages.

The post-install scripts should blacklist the b43 and ssb drivers.


Thanks! Good to have. Is not in the official Debian repository AFAIK (people need to compile themselves), will add to dog repos soon.

@belham
Quote:
Hmmm, looking at what you used, I think I definitely caused the problem by me specifying too much to be included into the buildscript.

Yes, could be, e.g. installing just xfce4 does install most (thunar, xfce-terminal etc..) btw, it's apt-get that does that, not a specific thing the build script does.

@rcrsn51
Re: Pet2Stretch
I'll wait a while with adding this to the repos, as you mentioned it should be tested and depending on feedback.

@peebee
Quote:
Success - thanks to wiak....
wiak clarified that apt-get was not needed for mklive-stretch....

Fresh frugal install of LxPupSc
Made internet connection
Installed debootstrap_1.0.89.pet
Copied mklive-stretch.sh to /usr/bin
Opened a terminal and typed:
Code:
export LD_LIBRARY_PATH= && mklive-stretch.sh
Frugally installed the resulting /stretch/isodata/live successfully.....yippee


Nice! Don't really think so but just asking:
Was it required to place the script in /usr/bin first ?
I mean, would this also have worked from terminal in the directory where mklive-stretch is located:
Code:
export LD_LIBRARY_PATH= && ./mklive-stretch.sh


@jd7654
Quote:
GUI frontend is great choice. Just add a tick box for 32-bit or 64-bit, and maybe preload those three dialogs for language, root passwd and compression. I know...probably easier said than done, so just a dumb user request. Wink


From what wiak and I tested setting up debootstrap for a 64-bit build from 32-bit OS host is not possible.
But the other way around does work, so I'll see what I can do to implement building 32bit from 64bit host.
Some preloading might be possible, but seems to me not for the keyboard layout setup, I might be wrong though.

Fred

_________________
Dog Linux website
Tinylinux blog by wiak
Back to top
View user's profile Send private message 
wiak

Joined: 11 Dec 2007
Posts: 1313
Location: not Bulgaria

PostPosted: Wed 09 Aug 2017, 17:15    Post subject:  

fredx181 wrote:

Nice! Don't really think so but just asking:
Was it required to place the script in /usr/bin first ?
I mean, would this also have worked from terminal in the directory where mklive-stretch is located:
Code:
export LD_LIBRARY_PATH= && ./mklive-stretch.sh



Yes, that should also work.

wiak

Last edited by wiak on Wed 09 Aug 2017, 17:33; edited 3 times in total
Back to top
View user's profile Send private message 
jd7654

Joined: 06 Apr 2015
Posts: 297

PostPosted: Wed 09 Aug 2017, 17:16    Post subject:  

fredx181 wrote:
@jd7654

From what wiak and I tested setting up debootstrap for a 64-bit build from 32-bit OS host is not possible.
But the other way around does work, so I'll see what I can do to implement building 32bit from 64bit host.
Some preloading might be possible, but seems to me not for the keyboard layout setup, I might be wrong though.

Fred


That would be great! I would think the builder would be on a more powerful machine and 64-bit host, so having option for target 32-bit low end machine is sufficient. For dialog, would be nice to just click and walk away and come back to completed ISO. But any reduction is great, if just 1 dialog for keyboard, and other two can have entry box to preload. As was mentioned before, thats many fewer steps than woof.
Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 3917
Location: holland

PostPosted: Wed 09 Aug 2017, 17:48    Post subject:  

jd7654 wrote:
fredx181 wrote:
@jd7654

From what wiak and I tested setting up debootstrap for a 64-bit build from 32-bit OS host is not possible.
But the other way around does work, so I'll see what I can do to implement building 32bit from 64bit host.
Some preloading might be possible, but seems to me not for the keyboard layout setup, I might be wrong though.

Fred


That would be great! I would think the builder would be on a more powerful machine and 64-bit host, so having option for target 32-bit low end machine is sufficient. For dialog, would be nice to just click and walk away and come back to completed ISO. But any reduction is great, if just 1 dialog for keyboard, and other two can have entry box to preload. As was mentioned before, thats many fewer steps than woof.


May take some time until I make changes.
For if you'd like to try now to make a 32bit build on 64bit host, you can edit the script by adding on line 67: export ARCH="i386" , so becomes this:
Code:
echo -e "\e[0;32mBuilding will be done in: $PWD/stretch\033[0m"
read -sp "Press ENTER to continue . . . "
echo
echo
export ARCH="i386" # this is a hack :)


Then the message still shows "building live system for 64-bit" but it will create 32bit build
Don't forget to remove on line 67 if you want to make 64bit build later.

In the GUI script it's line 75

I tested this hack and works!

Fred

Last edited by fredx181 on Wed 09 Aug 2017, 18:02; edited 1 time in total
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 10 of 97 [1452 Posts]   Goto page: Previous 1, 2, 3, ..., 8, 9, 10, 11, 12, ..., 95, 96, 97 Next
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.0984s ][ Queries: 13 (0.0098s) ][ GZIP on ]