/DADK/dadk-config/templates/config/ |
H A D | boot.toml | 30 grub-file = "/opt/dragonos-grub/arch/i386/legacy/grub/bin/grub-file" 35 grub-file = "/opt/dragonos-grub/arch/i386/efi/grub/bin/grub-file" 40 grub-file = "/opt/dragonos-grub/arch/x86_64/efi/grub/bin/grub-file" 51 # URL to download U-Boot binary file 60 # Prefix directory for U-Boot binary file 65 # then the path to locate the U-Boot binary file would be: `bin/uboot/riscv64/v2023.10/uboot.bin`
|
/DADK/dadk-user/src/executor/ |
H A D | target.rs |
|
H A D | source.rs | 13 use crate::utils::{file::FileUtils, stdio::StdioUtils}; 472 return Err(Error::msg(format!("path {:?} is not a file", self.path))); in validate() 551 info!("Source files already exist. Using previous source file cache. You should clean {:?} before re-download the archive ", target_dir.path); in download_unzip() 619 " {:?} is not a file", in unzip() 645 let file = File::open(&self.archive_path.join(&self.archive_name)) in unzip() 647 let mut archive = ZipArchive::new(file).map_err(|e| e.to_string())?; in unzip() 649 let mut file = archive.by_index(i).map_err(|e| e.to_string())?; in unzip() 650 let outpath = match file.enclosed_name() { in unzip() 654 if (*file.name()).ends_with('/') { in unzip() 663 std::io::copy(&mut file, in unzip() 637 let file = File::open(&self.archive_path.join(&self.archive_name)) unzip() localVariable 641 let mut file = archive.by_index(i).map_err(|e| e.to_string())?; unzip() localVariable [all...] |
H A D | source.rs | 13 use crate::utils::{file::FileUtils, stdio::StdioUtils}; 645 let file = File::open(&self.archive_path.join(&self.archive_name)) in unzip() localVariable 647 let mut archive = ZipArchive::new(file).map_err(|e| e.to_string())?; in unzip() 649 let mut file = archive.by_index(i).map_err(|e| e.to_string())?; in unzip() localVariable 650 let outpath = match file.enclosed_name() { in unzip() 654 if (*file.name()).ends_with('/') { in unzip() 663 std::io::copy(&mut file, &mut outfile).map_err(|e| e.to_string())?; in unzip() 668 if let Some(mode) = file.unix_mode() { in unzip()
|
H A D | mod.rs | 22 utils::{file::FileUtils, path::abs_path},
|
H A D | mod.rs | 22 utils::{file::FileUtils, path::abs_path},
|
H A D | mod.rs | 22 utils::{file::FileUtils, path::abs_path},
|
H A D | mod.rs | 22 utils::{file::FileUtils, path::abs_path},
|
H A D | mod.rs | 22 utils::{file::FileUtils, path::abs_path},
|
H A D | mod.rs | 22 utils::{file::FileUtils, path::abs_path},
|
H A D | mod.rs | 22 utils::{file::FileUtils, path::abs_path},
|
/DADK/dadk-user/src/utils/ |
H A D | mod.rs | 1 pub mod file; module
|
H A D | mod.rs | 1 pub mod file; module
|
H A D | file.rs | 26 let mut file = File::create(path.join(file_name))?; in download_file() localVariable 27 response.copy_to(&mut file)?; in download_file()
|
H A D | file.rs | 26 let mut file = File::create(path.join(file_name))?; in download_file() localVariable 27 response.copy_to(&mut file)?; in download_file()
|
/DADK/.github/ |
H A D | dependabot.yml | 4 …de-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file
|
/DADK/dadk/src/actions/rootfs/ |
H A D | disk_img.rs | 229 let mut file = File::create(disk_image_path)?; in create_raw_img() localVariable 232 file.set_len(image_size.try_into().unwrap())?; in create_raw_img() 240 file.write_all(&zero_buffer[..write_size as usize])?; in create_raw_img() 380 let mut file = File::open(&disk_image_path)?; in test_create_raw_img_functional() localVariable 384 while file.read(&mut buffer)? > 0 { in test_create_raw_img_functional()
|
/DADK/ |
H A D | LICENSE | 289 to attach them to the start of each source file to most effectively 290 convey the exclusion of warranty; and each file should have at least
|