![]() This would give you all the advantages of sdm along with your customizations. If you already have scripts that work, they can be easily adopted to working with sdm. Your "sdm sounds like" is based on your observation point and without a very deep look.Īnd, most importantly, I want to mention that there is no conflict with sdm and Pi imager. I will run it manually while I study firstrun.sh. I have one overall script that runs whatever I have loaded. What I tested with success this afternoon was:Īdd 100 MB Ext4 partition, extras, at end of card with Gparted.Įxpand rootfs with Gparted as the automatic expand does not happen when there is an extra partition. I am looking for a way to augment the Pi Imager rather than replace it. I started using the Pi Imager for some basics and like it so far. I would look at it in more detail if I had not created my scripts. From what I read of SDM, it does not do some of the things I want which means using my scripts. The same with replacing a Web browser and some other things. ![]() Given that the example USB WiFi adaptor could be plugged in anywhere, I install the drivers in every machine. ![]() I have scripts for things like installing a WiFi driver. SDM sounds like both overkill, underkill, and it would conflict with Pi imager. If I cannot find anything better, I might just set up another partition at the end of the card for extras. The alternative might be to place userfirstrun.sh somewhere else on the card then run it by hand. I notice the WiFi connection to the Internet blinks for a few seconds before indicating a connection. The process would have to wait for the network to connect. The best use of userfirstrun.sh would be to run in the user's desktop after the user is automatically logged in as that would let the user see progress and any messages about problems. Userfirstrun.sh needs the Internet connected so has to run after the firstrun reboot. Could I set up something to copy userfirstrun.sh into the new user? I cannot put something in the new directory when creating the card. The user directory does not exist until after the firstrun.sh completes and there is a reboot. What i am now looking for is something like firstrun.sh but for the user created during the firstrun. It works to set up the user and login to the network.
0 Comments
Leave a Reply. |