Subversion Repositories Kolibri OS

Rev

Rev 5115 | Rev 5123 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5115 Rev 5118
Line 519... Line 519...
519
    table.insert(input_deps, local_file)
519
    table.insert(input_deps, local_file)
520
  end
520
  end
521
end
521
end
Line 522... Line 522...
522
 
522
 
-
 
523
-- create empty 1.44M file
523
-- create empty 1.44M file
524
make_img_command = '^ MKIMG kolibri.img^ ' -- for tup: don't write full command to logs
524
make_img_command = "dd if=/dev/zero of=kolibri.img count=2880 bs=512 2>&1"
525
make_img_command = make_img_command .. "dd if=/dev/zero of=kolibri.img count=2880 bs=512 2>&1"
525
-- format it as a standard 1.44M floppy
526
-- format it as a standard 1.44M floppy
526
make_img_command = make_img_command .. " && mformat -f 1440 -i kolibri.img ::"
527
make_img_command = make_img_command .. " && mformat -f 1440 -i kolibri.img ::"
527
-- copy bootloader
528
-- copy bootloader
528
if tup.getconfig("NO_FASM") ~= "full" then
529
if tup.getconfig("NO_FASM") ~= "full" then
Line 575... Line 576...
575
if tup.getconfig("INSERT_REVISION_ID") ~= ""
576
if tup.getconfig("INSERT_REVISION_ID") ~= ""
576
then volume_id = "KolibriOS r`cat .revision`"
577
then volume_id = "KolibriOS r`cat .revision`"
577
else volume_id = "KolibriOS"
578
else volume_id = "KolibriOS"
578
end
579
end
579
tup.definerule{inputs = input_deps, command =
580
tup.definerule{inputs = input_deps, command =
-
 
581
  '^ MKISOFS kolibri.iso^ ' .. -- for tup: don't write full command to logs
580
  'mkisofs -U -J -pad -b kolibri.img -c boot.catalog -hide-joliet boot.catalog -graft-points ' ..
582
  'mkisofs -U -J -pad -b kolibri.img -c boot.catalog -hide-joliet boot.catalog -graft-points ' ..
581
  '-A "KolibriOS AutoBuilder" -p "CleverMouse" -publisher "KolibriOS Team" -V "' .. volume_id .. '" -sysid "KOLIBRI" ' ..
583
  '-A "KolibriOS AutoBuilder" -p "CleverMouse" -publisher "KolibriOS Team" -V "' .. volume_id .. '" -sysid "KOLIBRI" ' ..
582
  '-iso-level 3 -o kolibri.iso kolibri.img' .. iso_files_list .. ' 2>&1',
584
  '-iso-level 3 -o kolibri.iso kolibri.img' .. iso_files_list .. ' 2>&1',
583
  outputs = {"kolibri.iso"}}
585
  outputs = {"kolibri.iso"}}