-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Distribution detection #7
Comments
Dev oriented task. Having two scripts might be the simpler way to go instead of a bunch of conditionals. |
I was wondering the same. Going further, it might even be wise to have 2 different people nurture Ubermix & Raspbian initially, along the following lines: https://github.com/kidsoncomputers/kocifier/blob/master/ubermix_packages https://github.com/kidsoncomputers/kocifier/blob/master/raspbian_packages (does not yet exist, but probably should!) |
Or if we use Raspbian Desktop for PC and Raspian for RPI then it is a single distro for both plaforms: https://www.raspberrypi.org/downloads/raspbian/ https://www.raspberrypi.org/downloads/raspberry-pi-desktop/ (with support for installing on hard drive) |
This was kinda vaporware until recently, but the timing looks excellent for us all to experiment with this now, as Raspbian Stretch for PC (2.2GB ISO) was just announced Dec 1st 2017 here: https://www.raspberrypi.org/blog/stretch-pcs-macs-raspbian-update/ Even if the actual release appears to be from 2017-11-16 herein: http://downloads.raspberrypi.org/rpd_x86/images/rpd_x86-2017-12-01/ PS am cc'ing @georgejhunt just in case he or others have tried this? |
I downloaded the raspbian desktop, and installed it on a spare NUC. Impressions:
There are many labs with ubermix already installed. I question whether raspbinan desktop should be retrofitted on all the machines that already are running ubermix successfully. |
I like using 2 different files for packages. But maybe after some tests, we can have a common-packages files and extra files with packages that are required by a distribution. |
By default there are 1331 packages for Raspbian Desktop. I have the list > output.txt for installed packages for Raspbian. https://github.com/kidsoncomputers/kocifier/blob/master/raspbian_packages (does not yet exist, but probably should!) |
Great plz do post whatever you have ~ attachment here in GitHub or pastebin or whatev? (Of course this list is a bit different on PC as compared to ARM/RPi — e.g. lacking Minecraft and Wolfram Mathematica on the PC side — where Raspberry Pi Foundation was not given a license!) |
Some of these are build and OS specific tools/apps/utils Note: this list has 1334 (I installed mc and aptitude in my instance.) |
Awesome if you get the chance! UNRELATED ASIDE: Let's keep an eye on "PiServer" announced in the "New PC applications" section @ https://www.raspberrypi.org/blog/stretch-pcs-macs-raspbian-update/ on December 1st 2017 ...excerpt:
|
I was looking over the packages here: https://github.com/kidsoncomputers/kocifier/blob/master/ubermix_packages And I don't see why we couldn't add most if not all of these packages to Raspbian and create a custom iso. As a test, I will add these to see size, time to install, the custom iso image, etc. I believe we can optimize a few things to reduce install time - however, I don't know how necessary that will be.
Size of image after packages added: Let me know if there are additional packages to add at this time. Just testing later tonight... |
So, I took the Raspbian image and installed some of those listed ubermix packages. Here are the results. I know... it's a spreadsheet ¯_(ツ)_/¯ but it seemed to be the simplest documentation solution at that time. pkgs-Ubermix64_2_Raspbian-12232017.xlsx (have a *.ods if you need another format) Included in the spreadsheet are:
pkgs-Ubermix64_2_Raspbian-12232017.xlsx Still deeper would a short description of each software for users unfamiliar with these applications/tools/utilities. installedDec23.txt |
I don't understand the notation used on this spreadsheet. Is the highlighted lines on the first page the only packages not already installed on Raspbian? I thought many of the listed packages came stock on standard desktop Raspbian. Most of the rest of the tabs look like edubuntu; how does Ubermix play into this? What's the top level packages we want to install on top of base Raspbian? Because many of these packages seem to be dependencies of other packages on the same list. A dpkg --get-selections diff against the base install would be more helpful than the "installedDec23" full listing. I don't think the non-free firmware package would do much since I think Raspbian already ships with all the needed non-free firmware for the Broadcom chipset? |
The highlighted lines are ubermix packages not yet installed on the Raspbian in the VM. By the way - this is interesting - the Edubuntu question. Thanks for asking. https://packages.ubuntu.com/source/trusty/edubuntu-meta I just wanted to point that out in the spreadsheet. |
Diffs with base and installed files. diff1224-apt.txt Dec24installed-dpkg.txt |
If it's just the Desktop Env...settings - like the Panel menu and icons... maybe there are some potential solutions - for focusing on just that. Additionally, not sure but there may be some simple backup/restore/snapshot utilities for restore to look into. |
All we really need are 3-or-4 desktop icons, for young learners and novice teachers, who are apprehensive about clicking on anything. Someone like @avni or @thotmx with firsthand KoC experience can specify what those icons should likely be! (As you've discovered, the same kocifier scripts for Ubermix seem to work on Raspbian PC/Raspbian RPi which is really great...)
Yeah whether or not we solve this, schools and libraries have faced this age-old challenge for decades — with many different ways to skin this cat for sure — regardless of:
|
Raspberry Pi script is running on the pi3 and installing packages using the edited script. I believe these will be an issue. So maybe - the raspbian for pi needs a separate list of packages. Stay Tuned... |
Or maybe something a little softer. The Qimo project left behind wallpapers after they closed out their distro project Thanks! Qimo Project |
I like the last one @ch1x0r Taking into account that we use these: https://www.kidsoncomputers.org/data/backgrounds/ @nataren do you have the white background that we used on the RPi labs? |
Amazing @ch1x0r — hope to see everyone tonight on the 10PM EST Mexico planning call! |
At this point, I'm not pushing my repo changes - but, I did want to mention (since I missed the meeting) that I put the old original 2.5 Ubermix image with the script on thelifeofkenneth.com and also - the desktop custom Pint iso which includes all these edu packages and locale set to Spanish (requires 11 Gb storage though for installation and so far only for 64) Notes from Script: function raspbian_kocify { R:Install Kids Ruby R:Change regional formats R:locales - Change the timezone to Mexico City = dpkg-reconfigure locals es-MX manually or add to script but a manual selection - find alternate R:Configure input methods R:remove_keyboard_packages R:Install then remove keyboard packages?OK - remove fcitx* R:Install Language Pack support for Spanish |
@ch1x0r |
@thotmx I believe they took my RaspKids image and made some really minor changes to this - icons, change background - they did not even make a desktop. I believe YOU or another dev could create a desktop to take care of these extremely minor things they did manually. Added some desktop shortcuts for the 6 apps Really, not much of anything. Please DM me and will you be available for even 1 hour on feb 10 when my Linux User group and ASU user group get together and work on some feature rich improvements to Raspkids. I would like feedback from Acatlima to produce a better Raspkids image for future and public use. Thanks. |
What did you do to create the RaspKids image?
What extra steps did you do? |
So, basically, all I did was simple stuff. GOALS
---- BEFORE RUNNING SCRIPT ----
There were duplicate packages in each level. However, I need to evaluate the software going in and how it performs on the current Pi3 before including this in a package. Who knows. Maybe I'll never get done evaluating packages - Community help would be nice ;D!! The packages listed in the Ubermix offering were included in the Raspkids image unless there was a problem with crashing or dependencies - See raspkids_packages Minor script edits: Changes to script:
Edits to packages list:
Run script. AFTER SCRIPT Manual edits to the menu:
*Could be scripted/binded to a key: **Manual edits to the panel:**
Desktop
---- AFTER CUSTOMIZATION ---- Notes NOTE: Created a desktop environment for the desktop version but was concerned about the stability and no time to test more The PINT desktop image was much of the same except the boot up image was changed, splash image and all that... and there was a recovery mode for the pint (desktop 32_64) version. Ohhhh yea. I believe I set the boot up to be black so when installing maybe you didn't see everything - but I mean you still could using the keyboard... but was going to change that image... but never got around to it. https://github.com/ch1x0r/kocifier/blob/raspkids_dev/instructions.txt |
Oh yeah and changed the locales...and set to mx time.
…On Jan 31, 2018 7:25 PM, "Hermes Ojeda Ruiz" ***@***.***> wrote:
@ch1x0r <https://github.com/ch1x0r>:
What did you do to create the RaspKids image?
- Execute the script (to add software) in a new Raspbian installation.
- Add a new wallpaper.
What extra steps did you do?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#7 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AEt2wHQbiLFWSrzZQsG48Ghe5r0xO959ks5tQSCYgaJpZM4N2CNy>
.
|
I added, unintentionally, a commit to master branch with a script to check distribution. Identifying distribution is the commit message. Is that what you were looking for?
|
Be careful with that @IpiVasquez. DON'T send commits to master branch. Create a new branch and a Pull Request for code review. Please create a new branch with those changes, when you are ready create a PR. (When it's ready I'll revert those changes). |
This issue should be closed. I'll take the useful comments to create new issues related with improving the script. |
Create functions for Ubermix & Raspbian.
Detect which distribution is used, and install the correct software.
Ubermix reference is on this repository.
Raspbian: https://gist.github.com/nataren/010ef3af7fa502279d149167f70b59b0
The text was updated successfully, but these errors were encountered: