8000 GitHub - velvet-os/velvet-tools
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

velvet-os/velvet-tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Velvet Tools

Set of tools/usefull scripts for generating and flashing chromebook bootable kernel images

  • vtlist lists available kernel versions
  • vtbuild <version> builds a bootable image
  • vtflash <version> </dev/diskname> flashes the image permamently
  • vttest <version> </dev/diskname> flashes the image for testing
  • vtdisable </dev/diskname> makes partiotion unbootable
  • vthelp <page> shows helpful info scripts related things
  • vtpack deb <version> <maintainer> makes you cool kernel.deb
  • vtpack targz <version> packs kernel very nicely into tar.g
  • vtpack dir <version> makes directory structure, usefull for packing for other linux distros

<optional>

Config

config file can be found at /etc/velvettools/config

flash=auto (default)
if the kernel version is the same it will just flash it, but when switching versions it will test for successful boot first (recommened)
flash=forced
will automatically flash without testing (not recommened)
flash=manual
will not flash automatically unless you ask for it using vtflash or vttest (recommended for testing patches or cmdline)

main_part=auto (default)
will automatically be detected
main_part=/dev/x
in case you are running not default configuretion you can specify the partition


test_part=auto (default)
will automatically be detected
test_part=n (only ^ forced or manual)
in case there is no test partition
test_part=/dev/x
in case you are running not default configuretion you can specify the partition

init_gen_hook=y
automatically rebuild and flash image (if enabled) when initramfs is rebuilt
init_gen_hook=n
or no

structure

deb/
├── DEBIAN
│   ├── control
│   ├── postinst
│   ├── postrm
│   └── prerm
├── etc
│   ├── bash_completion.d
│   ├── initramfs
│   │   └── post-update.d
│   ├── initramfs-tools
│   │   └── hooks
│   └── velvettools
│       └── config
├── lib
│   └── systemd
│       └── system
│           └── vtcheck.service
└── usr
    ├── local
    │   └── bin
    │       ├── vtbuild
    │       ├── vtcheck
    │       ├── vtcommon
    │       ├── vtcommon-flash
    │       ├── vtdisable
    │       ├── vtflash
    │       ├── vthelp
    │       ├── vtlist
    │       ├── vtpack
    │       └── vttest
    └── share
        └── velvettools
            ├── bash
            │   └── velvettools
            ├── help
            │   ├── cmdline
            │   ├── dtbs
            │   ├── vtbuild
            │   ├── vtdisable
            │   ├── vtflash
            │   ├── vtlist
            │   ├── vtpack
            │   └── vttest
            └── hooks
                ├── after
                └── during

<- copied by post install script (/etc dir aint updated by default with newer version)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

0