Skip to content
Source of Pi-Desktop DEB
Branch: master
Clone or download
Shanks Xie
Latest commit 536649e Jul 2, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
pidesktop-base Update piclone problem Jul 3, 2017
file_tree.png source file Jun 26, 2017
readme.md add br Jun 26, 2017

readme.md

pi desktop deb

File Tree

1

python file

path: usr/share/PiDesktop/python

  • restart.py

shutdown shell

  • rtc.py

1.Edit the file /boot/config.txt,changing 'dtoverlay=i2c-rtc,pcf8563'.
2.Edit the file /lib/udev/hwclock-set,commenting out some code.
3.Disable fake-hwclock.service

  • pppBoot.py

Change boot parameters. Edit the file /boot/cmdline.txt,changing 'root=/dev/sda2'.

  • diskClone.py

1.Check if there is a mSATA disk.
2.call piclone
3.call pppBoot.py

shell file

path: usr/share/PiDesktop/script

  • ppp-hdclone

call diskClone.py

  • sync-hwclock

synchronous time

service

path: lib/systemd/system Create the startup service.

  • embest.service

call restart.py

  • embest-shutdown.service

call sync-hwclock

Deb File

####Deb control shell

  • control

Deb file's infomation.

  • postinst

Run after install deb file completion.

  1. Add +x to shell files.
  2. Generate link script(/usr/bin) to pppBoot.py and ppp-hdclone.
  3. Enable services(embest-shutdown.service and embest.service).
  • postrm

run before remove deb file completion.

####Make pidesktop-base.deb file,command line run:

dpkg -b pidesktop-base/ pidesktop-base.deb

You can’t perform that action at this time.