Create Debian 9 (Stretch) minimal ISO similar to DebianDog

A home for all kinds of Puppy related projects
Message
Author
backi
Posts: 1922
Joined: Sun 27 Feb 2011, 22:00
Location: GERMANY

#1006 Post by backi »

Hi Fred !
Don't know if you tried the "safe mode" option (=no-overwriting of existing files in the base filesystem), that could help maybe.
Quite complicated .......some xxxx.squashfs Modules crashes X and/or will not unload ( in different Modes ) ,,,,,,,some do not cause any trouble (talking about Xenial Dog ) .
Became accustomed to it .

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#1007 Post by fredx181 »

backi wrote:Hi Fred !
Don't know if you tried the "safe mode" option (=no-overwriting of existing files in the base filesystem), that could help maybe.
Quite complicated .......some xxxx.squashfs Modules crashes X and/or will not unload ( in different Modes ) ,,,,,,,some do not cause any trouble (talking about Xenial Dog ) .
Became accustomed to it .
Thanks backi, indeed annoying, I have no clue yet how to solve it, something to study on ... :?: :idea:

@all, made small fix for yad_squashloader, see EDIT2 here:
http://murga-linux.com/puppy/viewtopic. ... 262#982262

Fred

Lassar
Posts: 235
Joined: Tue 08 Jul 2014, 20:01

#1008 Post by Lassar »

Thank you for debian stretch script !

Got debian stretch script to make a iso. Size 143 mb.

Very nice size, but got one little problem.

Changed the script to make a symbolic link in /lib & /usr/lib.

These two links get overwritten & are changed into directories.

Have been searching google, and don't know how to prevent this from happening.

Anyone have any ideas?

dancytron
Posts: 1519
Joined: Wed 18 Jul 2012, 19:20

#1009 Post by dancytron »

Lassar wrote:Thank you for debian stretch script !

Got debian stretch script to make a iso. Size 143 mb.

Very nice size, but got one little problem.

Changed the script to make a symbolic link in /lib & /usr/lib.

These two links get overwritten & are changed into directories.

Have been searching google, and don't know how to prevent this from happening.

Anyone have any ideas?
What are you trying to accomplish?

In any event, I'd create the ISO, install it, make the changes you want, and then remaster it. That has worked for me with links to put browsers, block lists, download directories etc outside of the 01-filesystem and save folder.

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#1010 Post by rcrsn51 »

Hi Fred:

I've been looking at running chromium as an unprivileged user. I have this working using xhost, but there's no audio.

It looks like my user cannot see ALSA. Running the "aplay -l" command gives "no devices found".

Is this a permissions deal? Any suggestions?

[Edit] Fixed it. Ran System Tools > Add/Remove Users from Groups

Bill

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#1011 Post by fredx181 »

rcrsn51 wrote:Hi Fred:

I've been looking at running chromium as an unprivileged user. I have this working using xhost, but there's no audio.

It looks like my user cannot see ALSA. Running the "aplay -l" command gives "no devices found".

Is this a permissions deal? Any suggestions?

Bill
Hi Bill, Is the user member of the "audio" group ? (look in /etc.group)
If not:

Code: Select all

usermod -a -G audio <user>
(then I think you need to logout and back in for the change to apply, Exit X and type logout (not startx))

EDIT: Ah, you fixed already, just seeing your edit.

Fred

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#1012 Post by rcrsn51 »

Thanks. I found it just before you posted.

This is new territory for a Puppy user. :wink:

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#1013 Post by rcrsn51 »

PeasyMP3 is updated here.

CamPhoneTab is updated here.

Lassar
Posts: 235
Joined: Tue 08 Jul 2014, 20:01

Install ubuntu repos on debian?

#1014 Post by Lassar »

Has any tried to add a ppa to debian stretch.

You ask why you would do that?

I'll tell you why.

I manage to install kodi, but apt-get install --no-install-recommends added a lot of un-need packages.

Kodi has it's own built in python interpeter, and apt-get installed python 2.7, python 3, python 3.6.

Debian's repositories debs are lying about what dependency packages they
actually need.

Installing kodi took 260 mb of dish space.

I personally know about how much disk space kodi takes up and it is not even close to that.

So has anyone have any luck using a ppa with apt-get?

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#1015 Post by fredx181 »

Lassar wrote:Has any tried to add a ppa to debian stretch.
Which ppa you had in mind ?
Kodi has it's own built in python interpeter, and apt-get installed python 2.7, python 3, python 3.6.


I see only python2.7:

Code: Select all

root@live:~# apt-get install kodi
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  fonts-noto-hinted fonts-noto-mono fonts-roboto-hinted kodi-bin kodi-data
  libass5 libasyncns0 libatomic1 libavcodec57 libavfilter6 libavformat57
  libavresample3 libavutil55 libbluetooth3 libbluray1 libbs2b0 libchromaprint1
  libcrossguid0 libcrystalhd3 libebur128-1 libfftw3-double3 libflite1
  libglew2.0 libglu1-mesa libgme0 libgsm1 libicu57 libjs-iscroll libjs-jquery
  libldb1 libmariadbclient18 libmicrohttpd12 libmpg123-0 libnuma1
  libopencv-core2.4v5 libopencv-imgproc2.4v5 libopenmpt0 libopus0
  libpcrecpp0v5 libpgm-5.2-0 libpostproc54 libpulse0 libpython2.7
  libpython2.7-minimal libpython2.7-stdlib librubberband2 libshine3
  libsmbclient libsnappy1v5 libsodium18 libsoxr0 libspeex1 libssh-gcrypt-4
  libswresample2 libswscale4 libtag1v5 libtag1v5-vanilla libtalloc2 libtbb2
  libtdb1 libtevent0 libtinyxml2.6.2v5 libtwolame0 libva-drm1 libva-x11-1
  libva1 libvdpau1 libvorbisfile3 libwavpack1 libwbclient0 libwebp6
  libwebpdemux2 libwebpmux2 libwrap0 libx264-148 libx265-95 libxslt1.1
  libyajl2 libzmq5 libzvbi-common libzvbi0 mesa-utils mysql-common
  python-imaging python-pil python-talloc python2.7 python2.7-minimal
  samba-libs
Suggested packages:
  libbluray-bdj firmware-crystalhd libfftw3-bin libfftw3-dev alsa-base
  glew-utils opus-tools pulseaudio speex python-pil-doc python-pil-dbg
  python2.7-doc binutils binfmt-support
Recommended packages:
  kodi-visualization-spectrum libcec4 libmodplug1 libnfs8 libplist3 udisks2
  libaacs0 javascript-common va-driver-all | va-driver vdpau-driver-all
  | vdpau-driver tcpd
The following NEW packages will be installed:
  fonts-noto-hinted fonts-noto-mono fonts-roboto-hinted kodi kodi-bin
  kodi-data libass5 libasyncns0 libatomic1 libavcodec57 libavfilter6
  libavformat57 libavresample3 libavutil55 libbluetooth3 libbluray1 libbs2b0
  libchromaprint1 libcrossguid0 libcrystalhd3 libebur128-1 libfftw3-double3
  libflite1 libglew2.0 libglu1-mesa libgme0 libgsm1 libicu57 libjs-iscroll
  libjs-jquery libldb1 libmariadbclient18 libmicrohttpd12 libmpg123-0 libnuma1
  libopencv-core2.4v5 libopencv-imgproc2.4v5 libopenmpt0 libopus0
  libpcrecpp0v5 libpgm-5.2-0 libpostproc54 libpulse0 libpython2.7
  librubberband2 libshine3 libsmbclient libsnappy1v5 libsodium18 libsoxr0
  libspeex1 libssh-gcrypt-4 libswresample2 libswscale4 libtag1v5
  libtag1v5-vanilla libtalloc2 libtbb2 libtdb1 libtevent0 libtinyxml2.6.2v5
  libtwolame0 libva-drm1 libva-x11-1 libva1 libvdpau1 libvorbisfile3
  libwavpack1 libwbclient0 libwebp6 libwebpdemux2 libwebpmux2 libwrap0
  libx264-148 libx265-95 libxslt1.1 libyajl2 libzmq5 libzvbi-common libzvbi0
  mesa-utils mysql-common python-imaging python-pil python-talloc samba-libs
The following packages will be upgraded:
  libpython2.7-minimal libpython2.7-stdlib python2.7 python2.7-minimal
4 upgraded, 86 newly installed, 0 to remove and 35 not upgraded.
Need to get 81.7 MB of archives.
After this operation, 219 MB of additional disk space will be used.
Do you want to continue? [Y/n] 
I agree it's big size install though.

About what you asked in PM: I don't think there is similar script as mklive-stretch for xenial
(but you can google search for a manual way of debootstrap xenial to make a live system out of it)
I doubt btw that Ubuntu debootstrap will be less bloated.

And in the future can you reply back if someone replies to a question you ask ?
(dancytron replied to your earlier post)

Fred

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

Re: Install ubuntu repos on debian?

#1016 Post by rcrsn51 »

Lassar wrote:Kodi has it's own built in python interpeter, and apt-get installed python 2.7, python 3, python 3.6.

Debian's repositories debs are lying about what dependency packages they actually need.
I did a test install of kodi, then deleted some python components. Kodi immediately complained that they were missing.

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#1017 Post by rcrsn51 »

Here is a little applet for checking the levels of your ink-jet printer. Read here and here for info, including the list of supported printers.

Now that many printers have their own LCD control panel, this tool is not quite as useful as it once was.

Remove the fake .gz extension. Inkgui is listed in the System menu.
Attachments
inkgui_0.5.2-1.deb.gz
(2.21 KiB) Downloaded 139 times

Lassar
Posts: 235
Joined: Tue 08 Jul 2014, 20:01

#1018 Post by Lassar »

Got kodi to work partly in tiny core.

It does create a crash log.

Kodi does not complain about python being missing.

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#1019 Post by fredx181 »

Lassar wrote:Got kodi to work partly in tiny core.
...
Kodi does not complain about python being missing.
I guess it depends on how kodi is compiled, i.e. can be compiled with or without python included.
Debian kodi package is probably built without python included, so then it depends on python to be installed.

Fred

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#1020 Post by rcrsn51 »

Hi Fred (or anyone):

Can you explain the priority order in the layered filesystem? Here's what happened to me:

I was messing around with my-squash-loader and using symlinks into my squash repo.

At some point, one module quit working. The loadmodule command reported that it had loaded and it should have appeared in /opt, but it wasn't there.

I eventually tracked down a whiteout file in /mnt/saved/opt.

Does that mean that the content of "Changes" has top priority?

I still can't figure out how I would have deleted a folder that was inside a module.

Bill

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#1021 Post by fredx181 »

rcrsn51 wrote:Hi Fred (or anyone):

Can you explain the priority order in the layered filesystem? Here's what happened to me:

I was messing around with my-squash-loader and using symlinks into my squash repo.

At some point, one module quit working. The loadmodule command reported that it had loaded and it should have appeared in /opt, but it wasn't there.

I eventually tracked down a whiteout file in /mnt/saved/opt.

Does that mean that the content of "Changes" has top priority?

I still can't figure out how I would have deleted a folder that was inside a module.

Bill
Hi Bill, I'm not sure if I understand completely (a bit late in the evening here now), can you write more in detail with example, so I'd be able to reproduce maybe ?
Anyway, similar ? (about priority) question by trister here (and further replies), maybe helps:
http://murga-linux.com/puppy/viewtopic. ... 935#928935

Fred

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#1022 Post by rcrsn51 »

It looked to me like a whiteout file in the changes folder was covering stuff in a module that was subsequently loaded by loadmodules, making it invisible.

That seems to be the opposite of what trister was experiencing.

dancytron
Posts: 1519
Joined: Wed 18 Jul 2012, 19:20

#1023 Post by dancytron »

I've been under the impression (where I got it I am not sure), that the load squashfs program loads between the changes folder and the squashfs files loaded at boot time. So deleting something in the changes file would make it appear to be deleted.

So, like Fatdog http://distro.ibiblio.org/fatdog/web/fa ... ystem.html

01-filesystem.squashfs
02-another.squashfs
manually-loaded.squashfs
changes folder
ram layer

Unlike Puppy, which loads sfs files as the bottom layer, like:

manually-loaded.squashfs
01-filesystem.squashfs
changes folder
ram layer

I am also under the vague impression that the "safe mode" loads the squashfs like Puppy does, underneath.

edit: added RAM layer for clarity.

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#1024 Post by rcrsn51 »

Thanks. That's what it looks like to me.

The module in question was loading openoffice. I must have accidentally deleted /opt/openoffice while it was loaded, thereby putting a whiteout file on top of it in the changes folder. This permanently hid openoffice when the module was loaded again.

[Edit] I know what happened. During the development of this module, I loop-mounted it (instead of loading) and copied the contents out of the mount point to /opt.

After testing, I deleted /opt/openoffice. That created the whiteout file that blocked subsequent loading.
Last edited by rcrsn51 on Fri 09 Feb 2018, 14:09, edited 1 time in total.

stemsee

#1025 Post by stemsee »

Hi Fred

For the tray tooltip maybe we could work out a way of formatting into a vertical list. As you realise the text cannot have '\n' carraige returns only spaces. What needs doing is to assess the list and find the longest name, count the characters and then pad out the shorter named items in the list with spaces.

What is no-overwrite mode? Incidentally loading sfs files doesn't work on fatdog64-720, I will try to adapt it.

stemsee

Post Reply